Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.001245/0.001246, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001282/0.001282, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.808/0.808, allocations: 125.4 MB / 416.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.03 kB / 0.5716 GB, free: 27.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1569, allocations: 78.57 MB / 0.6483 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005058/0.162, allocations: 3.193 MB / 0.6515 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1642, allocations: 1.379 MB / 0.6528 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1644, allocations: 8 kB / 0.6528 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1655, allocations: 334.7 kB / 0.6531 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1658, allocations: 147.2 kB / 0.6533 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.1662, allocations: 154.2 kB / 0.6534 GB, free: 436 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.1666, allocations: 326.9 kB / 0.6537 GB, free: 108 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.1671, allocations: 251.9 kB / 0.654 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.1674, allocations: 143.5 kB / 0.6541 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.1677, allocations: 151.5 kB / 0.6543 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.1677, allocations: 23.94 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.1681, allocations: 163.7 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1682, allocations: 83.78 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1683, allocations: 123.4 kB / 0.6546 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.1689, allocations: 354.7 kB / 0.655 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1689, allocations: 0 / 0.655 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1689, allocations: 0 / 0.655 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.1689, allocations: 0 / 0.655 GB, free: 14.83 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009211/0.1698, allocations: 0.5609 MB / 0.6555 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1699, allocations: 8.031 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.17, allocations: 58.72 kB / 0.6556 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.1706, allocations: 80.72 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1709, allocations: 260 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.1709, allocations: 12.81 kB / 0.6559 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.171, allocations: 16.38 kB / 0.6559 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.1716, allocations: 312.4 kB / 0.6562 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1716, allocations: 4 kB / 0.6562 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.1716, allocations: 8 kB / 0.6562 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.1717, allocations: 20.42 kB / 0.6563 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.1721, allocations: 213.5 kB / 0.6565 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1737, allocations: 1.494 MB / 0.6579 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.1741, allocations: 203.7 kB / 0.6581 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.1742, allocations: 44.83 kB / 0.6582 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.1743, allocations: 0 / 0.6582 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1743, allocations: 38.5 kB / 0.6582 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.1743, allocations: 0 / 0.6582 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.1749, allocations: 267.5 kB / 0.6585 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.175, allocations: 51.41 kB / 0.6585 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1752, allocations: 215.6 kB / 0.6587 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1752, allocations: 29.7 kB / 0.6587 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1753, allocations: 168.1 kB / 0.6589 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1754, allocations: 31.73 kB / 0.6589 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.1754, allocations: 41.7 kB / 0.659 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1756, allocations: 326.8 kB / 0.6593 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.1757, allocations: 47.91 kB / 0.6593 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.1759, allocations: 116.5 kB / 0.6594 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.1761, allocations: 168.4 kB / 0.6596 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1761, allocations: 0 / 0.6596 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003853/0.1765, allocations: 214.3 kB / 0.6598 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1766, allocations: 8 kB / 0.6598 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1766, allocations: 4 kB / 0.6598 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001489/0.1767, allocations: 36.7 kB / 0.6598 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1769, allocations: 31.98 kB / 0.6599 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.178, allocations: 1.422 MB / 0.6613 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1782, allocations: 23.81 kB / 0.6613 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1782, allocations: 12 kB / 0.6613 GB, free: 7.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.1784, allocations: 149.8 kB / 0.6614 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1784, allocations: 15.91 kB / 0.6615 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.1784, allocations: 21.39 kB / 0.6615 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1784, allocations: 0 / 0.6615 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1785, allocations: 0 / 0.6615 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1785, allocations: 0 / 0.6615 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.1791, allocations: 495.2 kB / 0.6619 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1791, allocations: 0 / 0.6619 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.534e-05/0.1792, allocations: 11.98 kB / 0.662 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.068e-05/0.1793, allocations: 24.84 kB / 0.662 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1793, allocations: 7.984 kB / 0.662 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.1804, allocations: 1.425 MB / 0.6634 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1804, allocations: 0 / 0.6634 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.1807, allocations: 240.8 kB / 0.6636 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.1808, allocations: 104.9 kB / 0.6637 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1809, allocations: 0 / 0.6637 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.181, allocations: 11.98 kB / 0.6637 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.181, allocations: 4 kB / 0.6637 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.1811, allocations: 4 kB / 0.6637 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001394/0.1812, allocations: 157.4 kB / 0.6639 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1812, allocations: 0 / 0.6639 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003217/0.1815, allocations: 59.84 kB / 0.6639 GB, free: 4.781 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006406/0.1822, allocations: 0.7679 MB / 0.6647 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.1826, allocations: 234.5 kB / 0.6649 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1827, allocations: 288 / 0.6649 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.1829, allocations: 154.6 kB / 0.6651 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1833, allocations: 52.41 kB / 0.6651 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.1859, allocations: 2.139 MB / 0.6672 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1863, allocations: 0.7554 MB / 0.6679 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.1864, allocations: 29.53 kB / 0.668 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.1865, allocations: 55.41 kB / 0.668 GB, free: 388 kB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1865, allocations: 4 kB / 0.668 GB, free: 384 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.2159, allocations: 4.012 MB / 0.6719 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.803/10.02, allocations: 10.72 kB / 0.6719 GB, free: 12.48 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)