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.001488/0.001488, allocations: 107.1 kB / 16.41 MB, free: 6.48 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.00141/0.00141, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.307/1.307, 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.7505/0.7505, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 76 kB / 0.5679 GB, free: 29.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1413, allocations: 77.92 MB / 0.644 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.006431/0.1478, allocations: 3.195 MB / 0.6471 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1501, allocations: 1.379 MB / 0.6485 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1503, allocations: 4 kB / 0.6485 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1513, allocations: 340.7 kB / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.1517, allocations: 151.2 kB / 0.649 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.1521, allocations: 143.6 kB / 0.6491 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.1525, allocations: 330.9 kB / 0.6494 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.1529, allocations: 251.9 kB / 0.6497 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1531, allocations: 143.5 kB / 0.6498 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.1534, allocations: 151.5 kB / 0.6499 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.1534, allocations: 20 kB / 0.65 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002869/0.1537, allocations: 167.6 kB / 0.6501 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.1538, allocations: 79.8 kB / 0.6502 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.154, allocations: 131.4 kB / 0.6503 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.1544, allocations: 350.7 kB / 0.6507 GB, free: 2.785 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1544, allocations: 4 kB / 0.6507 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1544, allocations: 0 / 0.6507 GB, free: 2.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1544, allocations: 0 / 0.6507 GB, free: 2.781 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009598/0.1554, allocations: 0.5629 MB / 0.6512 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1555, allocations: 8.625 kB / 0.6512 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.267e-05/0.1555, allocations: 54.73 kB / 0.6513 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005923/0.1561, allocations: 80.72 kB / 0.6513 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.1565, allocations: 252.9 kB / 0.6516 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1565, allocations: 16.8 kB / 0.6516 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.1566, allocations: 24.38 kB / 0.6516 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005025/0.1571, allocations: 312.4 kB / 0.6519 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1571, allocations: 0 / 0.6519 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.1571, allocations: 8 kB / 0.6519 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.1572, allocations: 28.41 kB / 0.652 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.1576, allocations: 213.5 kB / 0.6522 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1592, allocations: 1.494 MB / 0.6536 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.1596, allocations: 203.7 kB / 0.6538 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.1597, allocations: 40.84 kB / 0.6539 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.1597, allocations: 0 / 0.6539 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1598, allocations: 38.56 kB / 0.6539 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.1598, allocations: 0 / 0.6539 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.1603, allocations: 267.4 kB / 0.6541 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1604, allocations: 51.41 kB / 0.6542 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1605, allocations: 215.6 kB / 0.6544 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1606, allocations: 25.7 kB / 0.6544 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.1607, allocations: 176 kB / 0.6546 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1607, allocations: 27.75 kB / 0.6546 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.1608, allocations: 37.7 kB / 0.6547 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.1609, allocations: 330.8 kB / 0.655 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.161, allocations: 47.92 kB / 0.655 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1611, allocations: 112.5 kB / 0.6551 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1613, allocations: 172.4 kB / 0.6553 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1614, allocations: 0 / 0.6553 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003673/0.1617, allocations: 214.1 kB / 0.6555 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1618, allocations: 10 kB / 0.6555 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1618, allocations: 4 kB / 0.6555 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.1619, allocations: 32.78 kB / 0.6555 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1621, allocations: 35.92 kB / 0.6556 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.1631, allocations: 1.425 MB / 0.657 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.1633, allocations: 19.83 kB / 0.657 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1633, allocations: 8 kB / 0.657 GB, free: 11.68 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.0001243/0.1635, allocations: 157.8 kB / 0.6571 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.1635, allocations: 23.89 kB / 0.6572 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.1635, allocations: 17.41 kB / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1635, allocations: 0 / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1636, allocations: 0 / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1636, allocations: 0 / 0.6572 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.1642, allocations: 499.1 kB / 0.6577 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1642, allocations: 8.062 kB / 0.6577 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.1642, allocations: 8 kB / 0.6577 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.529e-05/0.1643, allocations: 24.84 kB / 0.6577 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1644, allocations: 3.984 kB / 0.6577 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009313/0.1653, allocations: 1.421 MB / 0.6591 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1653, allocations: 0 / 0.6591 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1656, allocations: 236.7 kB / 0.6593 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.1657, allocations: 108.9 kB / 0.6594 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1657, allocations: 4 kB / 0.6594 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1659, allocations: 7.984 kB / 0.6594 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1659, allocations: 4 kB / 0.6594 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1659, allocations: 3.984 kB / 0.6594 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001219/0.166, allocations: 157.4 kB / 0.6596 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1661, allocations: 4 kB / 0.6596 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003384/0.1664, allocations: 55.89 kB / 0.6596 GB, free: 8.723 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.0005469/0.1669, allocations: 0.7679 MB / 0.6604 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.1674, allocations: 230.5 kB / 0.6606 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1674, allocations: 4.281 kB / 0.6606 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.1676, allocations: 158.7 kB / 0.6608 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.168, allocations: 54.17 kB / 0.6608 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.1703, allocations: 2.137 MB / 0.6629 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1706, allocations: 0.7593 MB / 0.6636 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.1707, allocations: 33.52 kB / 0.6637 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.1708, allocations: 51.42 kB / 0.6637 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1708, allocations: 0 / 0.6637 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.1932, allocations: 4.01 MB / 0.6676 GB, free: 444 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.469/9.662, allocations: 17.31 kB / 0.6677 GB, free: 432 kB / 0.4981 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)