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.539/2.539, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001491/0.001491, allocations: 187.7 kB / 370.8 MB, free: 10.86 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.07/2.07, 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.002149/0.002149, allocations: 95.2 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006316/0.0006317, allocations: 12.73 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2048, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.243, allocations: 179.8 MB / 1.154 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003566/1.244, allocations: 97.25 kB / 1.154 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.325/1.569, allocations: 78.01 MB / 1.23 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.745e-06/1.569, allocations: 0 / 1.23 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001565/1.569, allocations: 32 kB / 1.23 GB, free: 1.523 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.005427/1.574, allocations: 1.78 MB / 1.232 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.574, allocations: 12.02 kB / 1.232 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006229/1.575, allocations: 189.9 kB / 1.232 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01854/1.594, allocations: 1.811 MB / 1.234 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/1.598, allocations: 1.149 MB / 1.235 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.598, allocations: 78.33 kB / 1.235 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/1.598, allocations: 123.9 kB / 1.235 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/1.609, allocations: 2.544 MB / 1.238 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.156e-05/1.609, allocations: 7.938 kB / 1.238 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/1.609, allocations: 59.98 kB / 1.238 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.609, allocations: 78.16 kB / 1.238 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/1.623, allocations: 2.584 MB / 1.24 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0236/1.647, allocations: 10.21 MB / 1.25 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.659, allocations: 2.015 MB / 1.252 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-05/1.659, allocations: 4.438 kB / 1.252 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/1.659, allocations: 46.95 kB / 1.252 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/1.659, allocations: 0 / 1.252 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.05982/1.719, allocations: 9.225 MB / 1.261 GB, free: 0.5234 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001496/1.719, allocations: 218.3 kB / 1.262 GB, free: 268 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/1.721, allocations: 0.9457 MB / 1.262 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002835/1.722, allocations: 45.7 kB / 1.262 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008427/1.723, allocations: 0.738 MB / 1.263 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/1.723, allocations: 279.9 kB / 1.263 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/1.723, allocations: 16 kB / 1.263 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.723, allocations: 341.9 kB / 1.264 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00586/1.729, allocations: 1.099 MB / 1.265 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/1.735, allocations: 1.34 MB / 1.266 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/1.741, allocations: 1.158 MB / 1.267 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/1.742, allocations: 7.938 kB / 1.267 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01687/1.758, allocations: 3.311 MB / 1.271 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/1.759, allocations: 12.7 kB / 1.271 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.759, allocations: 4 kB / 1.271 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005623/1.764, allocations: 0.8613 MB / 1.271 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/1.768, allocations: 427.2 kB / 1.272 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02761/1.796, allocations: 15.19 MB / 1.287 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/1.8, allocations: 307.5 kB / 1.287 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/1.8, allocations: 51.97 kB / 1.287 GB, free: 4.883 MB / 0.8073 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 () * Number of clocked 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.001299/1.801, allocations: 397.5 kB / 1.287 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/1.802, allocations: 146.2 kB / 1.288 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.819, allocations: 3.269 MB / 1.291 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/1.819, allocations: 11.98 kB / 1.291 GB, free: 1.02 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.677e-05/1.819, allocations: 8 kB / 1.291 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/1.819, allocations: 3.984 kB / 1.291 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.841, allocations: 5.042 MB / 1.296 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/1.841, allocations: 8.062 kB / 1.296 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003294/1.844, allocations: 359.4 kB / 1.296 GB, free: 11.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/1.849, allocations: 0.7802 MB / 1.297 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1.85, allocations: 31.97 kB / 1.297 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02567/1.875, allocations: 14.82 MB / 1.311 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.875, allocations: 7.969 kB / 1.311 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/1.891, allocations: 3.277 MB / 1.314 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.893, allocations: 395.1 kB / 1.315 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.893, allocations: 12 kB / 1.315 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003687/1.897, allocations: 311.5 kB / 1.315 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004047/1.897, allocations: 84.44 kB / 1.315 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.897, allocations: 35.97 kB / 1.315 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001768/1.899, allocations: 0.7405 MB / 1.316 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.91e-07/1.899, allocations: 0 / 1.316 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002685/1.902, allocations: 460 kB / 1.316 GB, free: 5.273 MB / 0.8386 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,(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.01678/1.919, allocations: 4.594 MB / 1.321 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01593/1.935, allocations: 3.691 MB / 1.325 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.935, allocations: 4 kB / 1.325 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009407/1.944, allocations: 2.391 MB / 1.327 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/1.948, allocations: 483.5 kB / 1.327 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05271/2.001, allocations: 16.29 MB / 1.343 GB, free: 9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/2.002, allocations: 1.415 MB / 1.345 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002978/2.005, allocations: 383.8 kB / 1.345 GB, free: 7.172 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001626/2.007, allocations: 0.5969 MB / 1.346 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/2.007, allocations: 3.938 kB / 1.346 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.141/2.148, allocations: 41.48 MB / 1.386 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004177/2.149, allocations: 206.4 kB / 1.386 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/6.117, allocations: 0 / 1.386 GB, free: 13.34 MB / 0.9167 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)