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.001206/0.001206, allocations: 95.25 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008982/0.0008983, allocations: 174 kB / 16.57 MB, free: 6.387 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.228/1.228, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6196/0.6196, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 8 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008382/0.1251, allocations: 9.227 MB / 0.5657 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009328/0.1344, allocations: 8.043 MB / 0.5736 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007745/0.1352, allocations: 51.62 kB / 0.5736 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.1358, allocations: 258.2 kB / 0.5739 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.1386, allocations: 1.246 MB / 0.5751 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1397, allocations: 490.8 kB / 0.5756 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.1412, allocations: 1.378 MB / 0.5769 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002414/0.1437, allocations: 1.766 MB / 0.5787 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008249/0.1445, allocations: 0.7278 MB / 0.5794 GB, free: 4.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.1453, allocations: 0.7315 MB / 0.5801 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1454, allocations: 60 kB / 0.5801 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007307/0.1462, allocations: 415.3 kB / 0.5805 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.1465, allocations: 434.7 kB / 0.5809 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1468, allocations: 340.8 kB / 0.5813 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1482, allocations: 1.917 MB / 0.5831 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.1482, allocations: 4 kB / 0.5831 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1482, allocations: 0 / 0.5831 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.1482, allocations: 0 / 0.5831 GB, free: 0.5273 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.2035/0.3517, allocations: 1.702 MB / 0.5848 GB, free: 32.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3517, allocations: 11.33 kB / 0.5848 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.3519, allocations: 190.2 kB / 0.585 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.3622, allocations: 2.122 MB / 0.5871 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.364, allocations: 1.076 MB / 0.5881 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.727e-05/0.3641, allocations: 85.62 kB / 0.5882 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.3643, allocations: 114.4 kB / 0.5883 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004899/0.3692, allocations: 2.485 MB / 0.5907 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.3692, allocations: 11.67 kB / 0.5908 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.3694, allocations: 53.2 kB / 0.5908 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003202/0.3697, allocations: 129.6 kB / 0.5909 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/0.3764, allocations: 2.582 MB / 0.5934 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/0.3868, allocations: 10.12 MB / 0.6033 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/0.3922, allocations: 1.997 MB / 0.6053 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.3922, allocations: 7.109 kB / 0.6053 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3923, allocations: 38.59 kB / 0.6053 GB, free: 21.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 1.784e-06/0.3923, allocations: 0 / 0.6053 GB, free: 21.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02681/0.4191, allocations: 8.772 MB / 0.6139 GB, free: 17.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.4191, allocations: 60.22 kB / 0.6139 GB, free: 17.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4202, allocations: 1.088 MB / 0.615 GB, free: 16.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.118e-05/0.4203, allocations: 41.64 kB / 0.615 GB, free: 16.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.4206, allocations: 0.7429 MB / 0.6158 GB, free: 16.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.4207, allocations: 283 kB / 0.616 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.4208, allocations: 19.19 kB / 0.6161 GB, free: 15.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.4209, allocations: 351.7 kB / 0.6164 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/0.4232, allocations: 1.088 MB / 0.6175 GB, free: 14.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.4257, allocations: 1.317 MB / 0.6187 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/0.4282, allocations: 1.144 MB / 0.6199 GB, free: 13.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4282, allocations: 3.938 kB / 0.6199 GB, free: 13.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006757/0.435, allocations: 3.307 MB / 0.6231 GB, free: 10.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.435, allocations: 12.16 kB / 0.6231 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.435, allocations: 4 kB / 0.6231 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.4372, allocations: 0.789 MB / 0.6239 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.4387, allocations: 431.2 kB / 0.6243 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.4501, allocations: 14.97 MB / 0.6389 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.4521, allocations: 299.6 kB / 0.6392 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4522, allocations: 51.97 kB / 0.6392 GB, free: 8.887 MB / 462.1 MB 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.0006166/0.4528, allocations: 397.5 kB / 0.6396 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.453, allocations: 142.3 kB / 0.6398 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007858/0.4609, allocations: 3.234 MB / 0.6429 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4609, allocations: 11.95 kB / 0.6429 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4609, allocations: 12 kB / 0.6429 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.4609, allocations: 3.984 kB / 0.6429 GB, free: 5.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.4708, allocations: 4.94 MB / 0.6478 GB, free: 0 / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4708, allocations: 0 / 0.6478 GB, free: 0 / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.4723, allocations: 363.4 kB / 0.6481 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.4743, allocations: 0.6954 MB / 0.6488 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.4744, allocations: 27.97 kB / 0.6488 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.4865, allocations: 14.62 MB / 0.6631 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4865, allocations: 4 kB / 0.6631 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006911/0.4935, allocations: 3.229 MB / 0.6663 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/0.4941, allocations: 387.2 kB / 0.6666 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.4942, allocations: 16 kB / 0.6666 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.4959, allocations: 307.5 kB / 0.6669 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.496, allocations: 76.48 kB / 0.667 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.4961, allocations: 39.97 kB / 0.667 GB, free: 11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007553/0.4969, allocations: 0.7288 MB / 0.6678 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4969, allocations: 4 kB / 0.6678 GB, free: 10.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001104/0.498, allocations: 428 kB / 0.6682 GB, free: 9.848 MB / 494.1 MB 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.007351/0.5054, allocations: 4.541 MB / 0.6726 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007025/0.5124, allocations: 3.654 MB / 0.6762 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5124, allocations: 0 / 0.6762 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004152/0.5166, allocations: 2.391 MB / 0.6785 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.5181, allocations: 465.8 kB / 0.679 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/0.5395, allocations: 16.46 MB / 0.695 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.5404, allocations: 1.423 MB / 0.6964 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001199/0.5416, allocations: 383.9 kB / 0.6968 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/0.5423, allocations: 0.5891 MB / 0.6974 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of SimCode: time 1.944e-06/0.5423, allocations: 0 / 0.6974 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.178/3.72, allocations: 40.25 MB / 0.7367 GB, free: 3.461 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/3.721, allocations: 202.5 kB / 0.7369 GB, free: 3.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/5.745, allocations: 0 / 0.7369 GB, free: 3.219 MB / 0.545 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/linux/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) Environment - environmentSimulation: