Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 191.4 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 82.42 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.706e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1809, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.754/0.9349, allocations: 173.8 MB / 1.055 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.9352, allocations: 95.44 kB / 1.055 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1907/1.126, allocations: 77.24 MB / 1.131 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/1.126, allocations: 0 / 1.131 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001031/1.126, allocations: 39.94 kB / 1.131 GB, free: 10.11 MB / 0.7448 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.002953/1.129, allocations: 1.528 MB / 1.132 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.129, allocations: 12.03 kB / 1.132 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.14, allocations: 1.811 MB / 1.134 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/1.142, allocations: 1.142 MB / 1.135 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/1.142, allocations: 40 kB / 1.135 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/1.143, allocations: 64 kB / 1.135 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002493/1.145, allocations: 1.445 MB / 1.137 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/1.148, allocations: 1.876 MB / 1.138 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/1.148, allocations: 7.906 kB / 1.138 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.148, allocations: 4 kB / 1.138 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/1.148, allocations: 78.16 kB / 1.138 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/1.162, allocations: 9.915 MB / 1.148 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.164, allocations: 1.105 MB / 1.149 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/1.165, allocations: 0.5839 MB / 1.15 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/1.165, allocations: 4.438 kB / 1.15 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.165, allocations: 50.94 kB / 1.15 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=53): time 2.755e-06/1.165, allocations: 0 / 1.15 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81): time 0.008056/1.173, allocations: 3.878 MB / 1.154 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.173, allocations: 222.4 kB / 1.154 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.174, allocations: 0.7383 MB / 1.155 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.876e-05/1.174, allocations: 33.7 kB / 1.155 GB, free: 500 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/1.175, allocations: 0.7407 MB / 1.155 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/1.175, allocations: 271.9 kB / 1.156 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/1.175, allocations: 0 / 1.156 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.175, allocations: 341.9 kB / 1.156 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/1.176, allocations: 0.6781 MB / 1.157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/1.178, allocations: 0.911 MB / 1.157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.179, allocations: 0.7737 MB / 1.158 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.179, allocations: 4 kB / 1.158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004746/1.184, allocations: 2.425 MB / 1.161 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.184, allocations: 11.94 kB / 1.161 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.184, allocations: 8 kB / 1.161 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/1.187, allocations: 0.8386 MB / 1.161 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/1.189, allocations: 419.3 kB / 1.162 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/1.203, allocations: 14.32 MB / 1.176 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.205, allocations: 287.5 kB / 1.176 GB, free: 9.387 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.206, allocations: 51.91 kB / 1.176 GB, free: 9.336 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(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.0003067/1.206, allocations: 128.8 kB / 1.176 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004283/1.21, allocations: 2.234 MB / 1.178 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/1.21, allocations: 130.5 kB / 1.179 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/1.215, allocations: 2.416 MB / 1.181 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.215, allocations: 11.95 kB / 1.181 GB, free: 4.336 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.215, allocations: 12 kB / 1.181 GB, free: 4.324 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.215, allocations: 7.969 kB / 1.181 GB, free: 4.316 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/1.222, allocations: 4.003 MB / 1.185 GB, free: 212 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.222, allocations: 4 kB / 1.185 GB, free: 208 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.224, allocations: 367.8 kB / 1.185 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/1.227, allocations: 0.7678 MB / 1.186 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/1.227, allocations: 19.95 kB / 1.186 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.24, allocations: 13.93 MB / 1.2 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.24, allocations: 8 kB / 1.2 GB, free: 184 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.245, allocations: 2.427 MB / 1.202 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/1.246, allocations: 375.4 kB / 1.202 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/1.246, allocations: 7.984 kB / 1.202 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.248, allocations: 291.5 kB / 1.203 GB, free: 12.94 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/1.248, allocations: 76.58 kB / 1.203 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/1.248, allocations: 39.95 kB / 1.203 GB, free: 12.83 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007967/1.249, allocations: 0.5641 MB / 1.203 GB, free: 12.26 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.249, allocations: 0 / 1.203 GB, free: 12.26 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001579/1.25, allocations: 419.9 kB / 1.204 GB, free: 11.85 MB / 0.823 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 () * 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,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00471/1.255, allocations: 3.74 MB / 1.207 GB, free: 7.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004106/1.259, allocations: 2.741 MB / 1.21 GB, free: 5.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.259, allocations: 4 kB / 1.21 GB, free: 5.156 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/1.262, allocations: 1.903 MB / 1.212 GB, free: 3.172 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.264, allocations: 415.2 kB / 1.212 GB, free: 2.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006897/1.271, allocations: 2.956 MB / 1.215 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.272, allocations: 1.419 MB / 1.216 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001519/1.274, allocations: 362.5 kB / 1.217 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008021/1.274, allocations: 0.5773 MB / 1.217 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/1.274, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0712/1.346, allocations: 37.23 MB / 1.254 GB, free: 8.398 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/1.346, allocations: 155.6 kB / 1.254 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/4.197, allocations: 4 kB / 1.254 GB, free: 8.199 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)