Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 287.3 MB / 302.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001655/0.001655, allocations: 193.5 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 104.1 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004849, allocations: 13.25 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01297/0.2217, allocations: 9.239 MB / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.237, allocations: 8.036 MB / 0.9952 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.2387, allocations: 47.69 kB / 0.9952 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.2401, allocations: 254.3 kB / 0.9954 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.2454, allocations: 1.265 MB / 0.9967 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.2476, allocations: 473.8 kB / 0.9971 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003047/0.2507, allocations: 1.386 MB / 0.9985 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.2551, allocations: 1.781 MB / 1 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.2571, allocations: 0.7161 MB / 1.001 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.259, allocations: 0.747 MB / 1.002 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004103/0.2594, allocations: 60 kB / 1.002 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.261, allocations: 395.5 kB / 1.002 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006702/0.2617, allocations: 446.6 kB / 1.003 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005275/0.2623, allocations: 344.8 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.2653, allocations: 1.913 MB / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2653, allocations: 0 / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.116e-06/0.2654, allocations: 0 / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.663e-05/0.2654, allocations: 0 / 1.005 GB, free: 1.113 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005689/0.2711, allocations: 1.722 MB / 1.006 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.2712, allocations: 12.02 kB / 1.006 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006111/0.2718, allocations: 189.9 kB / 1.007 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/0.2926, allocations: 2.12 MB / 1.009 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.2962, allocations: 1.068 MB / 1.01 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2964, allocations: 90.31 kB / 1.01 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005283/0.2969, allocations: 123.9 kB / 1.01 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.3079, allocations: 2.488 MB / 1.012 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.531e-05/0.3081, allocations: 11.84 kB / 1.012 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/0.3084, allocations: 51.98 kB / 1.012 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007076/0.3091, allocations: 130.1 kB / 1.013 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.3244, allocations: 2.58 MB / 1.015 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02428/0.3487, allocations: 10.11 MB / 1.025 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.361, allocations: 2.003 MB / 1.027 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.3612, allocations: 16.42 kB / 1.027 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.3612, allocations: 35 kB / 1.027 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.985e-06/0.3613, allocations: 0 / 1.027 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.06572/0.427, allocations: 8.766 MB / 1.035 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.4271, allocations: 64.06 kB / 1.036 GB, free: 492 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.4294, allocations: 1.085 MB / 1.037 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002746/0.4298, allocations: 37.7 kB / 1.037 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/0.4306, allocations: 0.7379 MB / 1.037 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.4311, allocations: 280 kB / 1.038 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.4313, allocations: 16 kB / 1.038 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.4315, allocations: 345.9 kB / 1.038 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/0.4373, allocations: 1.099 MB / 1.039 GB, free: 12.85 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006124/0.4435, allocations: 1.317 MB / 1.04 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006039/0.4496, allocations: 1.146 MB / 1.041 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4496, allocations: 3.938 kB / 1.041 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01704/0.4667, allocations: 3.304 MB / 1.045 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.4668, allocations: 13.81 kB / 1.045 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.4668, allocations: 8 kB / 1.045 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00504/0.4719, allocations: 0.7877 MB / 1.045 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003869/0.4758, allocations: 431.2 kB / 1.046 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02731/0.5031, allocations: 14.96 MB / 1.06 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004253/0.5074, allocations: 307.6 kB / 1.061 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.5078, allocations: 47.97 kB / 1.061 GB, free: 5.309 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/0.509, allocations: 397.5 kB / 1.061 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/0.5095, allocations: 146.3 kB / 1.061 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01698/0.5265, allocations: 3.245 MB / 1.065 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.5266, allocations: 12 kB / 1.065 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.229e-05/0.5266, allocations: 8 kB / 1.065 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.5267, allocations: 3.984 kB / 1.065 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6779/1.205, allocations: 4.937 MB / 1.069 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.205, allocations: 3.5 kB / 1.069 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003428/1.208, allocations: 366.8 kB / 1.07 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004515/1.213, allocations: 0.688 MB / 1.07 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/1.213, allocations: 31.22 kB / 1.07 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/1.235, allocations: 14.61 MB / 1.085 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.235, allocations: 10.41 kB / 1.085 GB, free: 71.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/1.251, allocations: 3.225 MB / 1.088 GB, free: 70.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.252, allocations: 388.3 kB / 1.088 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/1.253, allocations: 17.84 kB / 1.088 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003871/1.257, allocations: 303.3 kB / 1.089 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.257, allocations: 84.19 kB / 1.089 GB, free: 70.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.257, allocations: 40.62 kB / 1.089 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001628/1.259, allocations: 0.7295 MB / 1.089 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.82e-07/1.259, allocations: 0 / 1.089 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002565/1.262, allocations: 430.4 kB / 1.09 GB, free: 69.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01616/1.278, allocations: 4.524 MB / 1.094 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.293, allocations: 3.662 MB / 1.098 GB, free: 65.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.294, allocations: 1.094 kB / 1.098 GB, free: 65.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008937/1.302, allocations: 2.386 MB / 1.1 GB, free: 64.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.306, allocations: 474.1 kB / 1.101 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0437/1.35, allocations: 16.46 MB / 1.117 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.351, allocations: 1.416 MB / 1.118 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002859/1.354, allocations: 379.7 kB / 1.118 GB, free: 53.22 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/1.356, allocations: 0.5946 MB / 1.119 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.543e-06/1.356, allocations: 0 / 1.119 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.463, allocations: 40.27 MB / 1.158 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.463, allocations: 209.1 kB / 1.158 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/5.231, allocations: 3.5 kB / 1.158 GB, free: 20.45 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)