Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 102.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.689/0.689, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 67.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3135, allocations: 77.93 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01005/0.3235, allocations: 10.89 MB / 0.5779 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3338, allocations: 8.796 MB / 0.5865 GB, free: 18.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.3349, allocations: 59.19 kB / 0.5866 GB, free: 18.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.3382, allocations: 1.668 MB / 0.5882 GB, free: 17.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.3414, allocations: 1.523 MB / 0.5897 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3428, allocations: 0.6786 MB / 0.5904 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.3446, allocations: 2.281 MB / 0.5926 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.3459, allocations: 1.384 MB / 0.5939 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.347, allocations: 0.9812 MB / 0.5949 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009693/0.348, allocations: 1.013 MB / 0.5959 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.3482, allocations: 138.5 kB / 0.596 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3494, allocations: 0.8073 MB / 0.5968 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000347/0.3498, allocations: 0.5625 MB / 0.5973 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.3503, allocations: 0.8823 MB / 0.5982 GB, free: 11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.3519, allocations: 2.539 MB / 0.6007 GB, free: 8.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3519, allocations: 3.938 kB / 0.6007 GB, free: 8.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.352, allocations: 0 / 0.6007 GB, free: 8.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.352, allocations: 7.938 kB / 0.6007 GB, free: 8.441 MB / 446.1 MB 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.00225/0.3542, allocations: 2.01 MB / 0.6027 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.3543, allocations: 8.625 kB / 0.6027 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001532/0.3544, allocations: 194.1 kB / 0.6029 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.3645, allocations: 2.05 MB / 0.6049 GB, free: 4.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.3659, allocations: 1.119 MB / 0.606 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.366, allocations: 90.67 kB / 0.606 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.3662, allocations: 127.8 kB / 0.6062 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/0.3704, allocations: 2.482 MB / 0.6086 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.3705, allocations: 7.938 kB / 0.6086 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.3706, allocations: 55.98 kB / 0.6086 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003362/0.3709, allocations: 130.1 kB / 0.6088 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006828/0.3778, allocations: 2.537 MB / 0.6112 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.3891, allocations: 10.08 MB / 0.6211 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006013/0.3952, allocations: 1.952 MB / 0.623 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/0.3978, allocations: 0.9738 MB / 0.624 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.3978, allocations: 8.375 kB / 0.624 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.3979, allocations: 39 kB / 0.624 GB, free: 15.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.285e-06/0.3979, allocations: 0 / 0.624 GB, free: 15.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.03094/0.4288, allocations: 8.718 MB / 0.6325 GB, free: 6.812 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4289, allocations: 68 kB / 0.6326 GB, free: 6.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.4305, allocations: 1.093 MB / 0.6336 GB, free: 5.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.4306, allocations: 37.7 kB / 0.6337 GB, free: 5.578 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005059/0.4311, allocations: 0.7379 MB / 0.6344 GB, free: 4.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.4313, allocations: 284 kB / 0.6347 GB, free: 4.551 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.4317, allocations: 198.4 kB / 0.6349 GB, free: 4.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4319, allocations: 345.9 kB / 0.6352 GB, free: 4.008 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/0.4347, allocations: 1.071 MB / 0.6362 GB, free: 2.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002998/0.4377, allocations: 1.305 MB / 0.6375 GB, free: 1.531 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005845/0.4436, allocations: 2.393 MB / 0.6398 GB, free: 15.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4436, allocations: 0 / 0.6398 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008424/0.452, allocations: 3.276 MB / 0.643 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4521, allocations: 8 kB / 0.6431 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4521, allocations: 8 kB / 0.6431 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/0.4548, allocations: 0.7995 MB / 0.6438 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.4566, allocations: 419.2 kB / 0.6442 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.471, allocations: 15.92 MB / 0.6598 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.4732, allocations: 291.5 kB / 0.6601 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4733, allocations: 56.03 kB / 0.6601 GB, free: 9.105 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006498/0.474, allocations: 394.4 kB / 0.6605 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.4743, allocations: 138.3 kB / 0.6606 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008351/0.4826, allocations: 3.222 MB / 0.6638 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4826, allocations: 8 kB / 0.6638 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.4827, allocations: 8 kB / 0.6638 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4827, allocations: 3.984 kB / 0.6638 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.4931, allocations: 4.893 MB / 0.6686 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4932, allocations: 4 kB / 0.6686 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/0.4948, allocations: 351.8 kB / 0.6689 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002164/0.4969, allocations: 0.7014 MB / 0.6696 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.497, allocations: 31.97 kB / 0.6696 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.511, allocations: 15.55 MB / 0.6848 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.511, allocations: 3.938 kB / 0.6848 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007828/0.5189, allocations: 3.042 MB / 0.6878 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/0.5195, allocations: 383.2 kB / 0.6881 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.5198, allocations: 19.98 kB / 0.6882 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.5217, allocations: 291.5 kB / 0.6884 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.5219, allocations: 84.47 kB / 0.6885 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.522, allocations: 35.97 kB / 0.6886 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009504/0.523, allocations: 0.7443 MB / 0.6893 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.412e-06/0.523, allocations: 0 / 0.6893 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001399/0.5244, allocations: 435.9 kB / 0.6897 GB, free: 9.383 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007879/0.5323, allocations: 3.612 MB / 0.6932 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008312/0.5406, allocations: 3.754 MB / 0.6969 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5406, allocations: 0 / 0.6969 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004671/0.5453, allocations: 2.391 MB / 0.6992 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.5474, allocations: 0.5165 MB / 0.6997 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03337/0.5808, allocations: 16.57 MB / 0.7159 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.5819, allocations: 1.384 MB / 0.7173 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001568/0.5835, allocations: 379.9 kB / 0.7176 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/0.5843, allocations: 0.593 MB / 0.7182 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.5843, allocations: 0 / 0.7182 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.024/1.609, allocations: 41.2 MB / 0.7584 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.604/11.21, allocations: 5.422 kB / 0.7584 GB, free: 159.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)