Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001036/0.001036, allocations: 185 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 0.6305 GB, free: 9.996 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.0007869/0.0007868, allocations: 90.66 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003914, allocations: 10.47 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.779/0.9683, allocations: 179.9 MB / 1.155 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.9686, allocations: 96.81 kB / 1.155 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1952/1.164, allocations: 77.99 MB / 1.231 GB, free: 128 kB / 0.7448 GB Notification: Performance of FrontEnd: time 3.075e-06/1.164, allocations: 0 / 1.231 GB, free: 128 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001898/1.164, allocations: 47.92 kB / 1.232 GB, free: 80 kB / 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.005143/1.169, allocations: 1.768 MB / 1.233 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.169, allocations: 12.02 kB / 1.233 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000839/1.17, allocations: 193.9 kB / 1.233 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/1.181, allocations: 1.819 MB / 1.235 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/1.185, allocations: 1.142 MB / 1.236 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.185, allocations: 82.31 kB / 1.236 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006279/1.185, allocations: 119.9 kB / 1.237 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007166/1.193, allocations: 2.544 MB / 1.239 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.148e-05/1.193, allocations: 7.938 kB / 1.239 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/1.193, allocations: 55.98 kB / 1.239 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/1.193, allocations: 82.19 kB / 1.239 GB, free: 7.945 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007706/1.201, allocations: 2.592 MB / 1.242 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/1.218, allocations: 10.2 MB / 1.252 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/1.224, allocations: 2.007 MB / 1.254 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/1.224, allocations: 8.438 kB / 1.254 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/1.224, allocations: 39 kB / 1.254 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 3.767e-06/1.224, allocations: 0 / 1.254 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.03202/1.256, allocations: 9.233 MB / 1.263 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.256, allocations: 218.3 kB / 1.263 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/1.258, allocations: 0.9534 MB / 1.264 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/1.259, allocations: 45.7 kB / 1.264 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/1.259, allocations: 0.7342 MB / 1.265 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/1.259, allocations: 279.9 kB / 1.265 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.44e-05/1.26, allocations: 20 kB / 1.265 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.26, allocations: 337.9 kB / 1.265 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.263, allocations: 1.099 MB / 1.266 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/1.266, allocations: 1.34 MB / 1.268 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/1.269, allocations: 1.158 MB / 1.269 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/1.269, allocations: 4 kB / 1.269 GB, free: 8.742 MB / 0.7917 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008961/1.278, allocations: 3.316 MB / 1.272 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.278, allocations: 8 kB / 1.272 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.278, allocations: 4 kB / 1.272 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/1.281, allocations: 0.8656 MB / 1.273 GB, free: 4.492 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.283, allocations: 419.3 kB / 1.273 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/1.303, allocations: 15.19 MB / 1.288 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/1.307, allocations: 303.6 kB / 1.288 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/1.307, allocations: 55.86 kB / 1.288 GB, free: 3.461 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.001219/1.308, allocations: 403.4 kB / 1.289 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/1.309, allocations: 146.2 kB / 1.289 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.322, allocations: 3.277 MB / 1.292 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.322, allocations: 8 kB / 1.292 GB, free: 15.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.762e-05/1.322, allocations: 8 kB / 1.292 GB, free: 15.58 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.322, allocations: 3.984 kB / 1.292 GB, free: 15.58 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.34, allocations: 5.045 MB / 1.297 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.34, allocations: 7.984 kB / 1.297 GB, free: 10.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.342, allocations: 363.7 kB / 1.297 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/1.345, allocations: 0.7716 MB / 1.298 GB, free: 9.25 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/1.345, allocations: 35.95 kB / 1.298 GB, free: 9.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/1.362, allocations: 14.82 MB / 1.313 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.362, allocations: 7.969 kB / 1.313 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009145/1.372, allocations: 3.273 MB / 1.316 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.373, allocations: 395.1 kB / 1.316 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006136/1.374, allocations: 19.98 kB / 1.316 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.376, allocations: 311.5 kB / 1.317 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.376, allocations: 80.44 kB / 1.317 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.376, allocations: 35.97 kB / 1.317 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001851/1.378, allocations: 0.7405 MB / 1.317 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.378, allocations: 4 kB / 1.317 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002462/1.381, allocations: 460 kB / 1.318 GB, free: 3.844 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.009237/1.39, allocations: 4.591 MB / 1.322 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008619/1.399, allocations: 3.687 MB / 1.326 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.399, allocations: 3.938 kB / 1.326 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005404/1.404, allocations: 2.399 MB / 1.328 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.407, allocations: 480.1 kB / 1.329 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/1.439, allocations: 16.29 MB / 1.345 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.441, allocations: 1.419 MB / 1.346 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001961/1.442, allocations: 375.9 kB / 1.346 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.444, allocations: 0.6007 MB / 1.347 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of SimCode: time 1.482e-06/1.444, allocations: 0 / 1.347 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0788/1.522, allocations: 41.49 MB / 1.387 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.523, allocations: 222.1 kB / 1.388 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.316/4.838, allocations: 0 / 1.388 GB, free: 11.9 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)