Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.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.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel",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.001007/0.001007, allocations: 108.6 kB / 16.41 MB, free: 6.488 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.001032/0.001032, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6576/0.6576, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.8 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1274, allocations: 76.18 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.RCModel): time 0.005631/0.133, allocations: 4.339 MB / 0.6358 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1359, allocations: 1.858 MB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003047/0.1363, allocations: 11.94 kB / 0.6376 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.1378, allocations: 0.6031 MB / 0.6382 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006358/0.1385, allocations: 262.6 kB / 0.6385 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.1391, allocations: 253.4 kB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006695/0.1398, allocations: 0.6035 MB / 0.6393 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006401/0.1404, allocations: 470.2 kB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000275/0.1407, allocations: 247.2 kB / 0.64 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.1411, allocations: 275 kB / 0.6402 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.1412, allocations: 36 kB / 0.6403 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.1416, allocations: 255.4 kB / 0.6405 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1418, allocations: 155.6 kB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.142, allocations: 214.9 kB / 0.6409 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.1427, allocations: 0.6116 MB / 0.6415 GB, free: 10.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1427, allocations: 0 / 0.6415 GB, free: 10.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1427, allocations: 4 kB / 0.6415 GB, free: 10.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1427, allocations: 0 / 0.6415 GB, free: 10.76 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001166/0.1439, allocations: 0.7233 MB / 0.6422 GB, free: 9.992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1439, allocations: 12.03 kB / 0.6422 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.565e-05/0.144, allocations: 78.7 kB / 0.6423 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.1449, allocations: 148.2 kB / 0.6424 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.1453, allocations: 338.6 kB / 0.6427 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1454, allocations: 21.38 kB / 0.6428 GB, free: 9.359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.1454, allocations: 32.38 kB / 0.6428 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.1461, allocations: 0.5354 MB / 0.6433 GB, free: 8.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1462, allocations: 7.938 kB / 0.6433 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1462, allocations: 19.98 kB / 0.6433 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/0.1463, allocations: 36.62 kB / 0.6434 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.1468, allocations: 386.3 kB / 0.6437 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.1496, allocations: 2.388 MB / 0.6461 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.1501, allocations: 266.5 kB / 0.6463 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1503, allocations: 112.8 kB / 0.6464 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1503, allocations: 4 kB / 0.6464 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.1504, allocations: 38.5 kB / 0.6465 GB, free: 5.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/0.1504, allocations: 0 / 0.6465 GB, free: 5.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002118/0.1525, allocations: 1.13 MB / 0.6476 GB, free: 4.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1525, allocations: 51.41 kB / 0.6476 GB, free: 3.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.1528, allocations: 304.5 kB / 0.6479 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1528, allocations: 29.7 kB / 0.6479 GB, free: 3.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.153, allocations: 231.6 kB / 0.6482 GB, free: 3.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.153, allocations: 90.73 kB / 0.6483 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/0.1531, allocations: 62.03 kB / 0.6483 GB, free: 3.246 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1533, allocations: 334.8 kB / 0.6486 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1534, allocations: 100.6 kB / 0.6487 GB, free: 2.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1536, allocations: 195.7 kB / 0.6489 GB, free: 2.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.1541, allocations: 317 kB / 0.6492 GB, free: 2.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1541, allocations: 4 kB / 0.6492 GB, free: 2.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007393/0.1548, allocations: 450.4 kB / 0.6496 GB, free: 1.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1549, allocations: 8 kB / 0.6497 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1549, allocations: 0 / 0.6497 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/0.1553, allocations: 94.81 kB / 0.6497 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1555, allocations: 71.89 kB / 0.6498 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/0.1586, allocations: 4.383 MB / 0.6541 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.1588, allocations: 8 kB / 0.6541 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.1589, allocations: 12 kB / 0.6541 GB, free: 12.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.1591, allocations: 181.9 kB / 0.6543 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.1592, allocations: 43.7 kB / 0.6543 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.291e-05/0.1592, allocations: 42.3 kB / 0.6544 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1592, allocations: 4 kB / 0.6544 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1593, allocations: 0 / 0.6544 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1593, allocations: 0 / 0.6544 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.1597, allocations: 397.3 kB / 0.6548 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1597, allocations: 11.88 kB / 0.6548 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.1599, allocations: 31.98 kB / 0.6548 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002929/0.1602, allocations: 90.48 kB / 0.6549 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1602, allocations: 8 kB / 0.6549 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/0.1632, allocations: 4.388 MB / 0.6592 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1632, allocations: 3.938 kB / 0.6592 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.164, allocations: 0.5471 MB / 0.6597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1641, allocations: 128.9 kB / 0.6598 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1641, allocations: 8 kB / 0.6598 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1643, allocations: 8 kB / 0.6598 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1644, allocations: 19.97 kB / 0.6599 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1644, allocations: 4 kB / 0.6599 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002075/0.1646, allocations: 222.9 kB / 0.6601 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1646, allocations: 0 / 0.6601 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004386/0.1651, allocations: 96 kB / 0.6602 GB, free: 6.035 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009812/0.1661, allocations: 1.103 MB / 0.6613 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007968/0.1669, allocations: 0.6011 MB / 0.6618 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1669, allocations: 4.688 kB / 0.6618 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.1673, allocations: 476 kB / 0.6623 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.1678, allocations: 78.5 kB / 0.6624 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.1716, allocations: 3.366 MB / 0.6657 GB, free: 148 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1721, allocations: 0.8389 MB / 0.6665 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.1723, allocations: 58.94 kB / 0.6665 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1724, allocations: 111.4 kB / 0.6666 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.1724, allocations: 0 / 0.6666 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.2045, allocations: 7.78 MB / 0.6742 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.053/9.257, allocations: 3.938 kB / 0.6742 GB, free: 7.473 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_RCModel.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)