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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 114.5 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 207.2 kB / 20.1 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.039/1.039, allocations: 150 MB / 459.5 MB, free: 5.375 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 67.59 kB / 0.6361 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1521, allocations: 89.13 MB / 0.7231 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005471/0.1576, allocations: 3.254 MB / 0.7263 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0027/0.1603, allocations: 1.472 MB / 0.7278 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.1605, allocations: 11.94 kB / 0.7278 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1616, allocations: 338.7 kB / 0.7281 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004363/0.162, allocations: 151.2 kB / 0.7282 GB, free: 15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.1625, allocations: 158.1 kB / 0.7284 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.1631, allocations: 338.8 kB / 0.7287 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.1636, allocations: 203.7 kB / 0.7289 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003481/0.1639, allocations: 143.5 kB / 0.729 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.1643, allocations: 159.4 kB / 0.7292 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.1643, allocations: 20 kB / 0.7292 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.1647, allocations: 175.6 kB / 0.7294 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1648, allocations: 87.72 kB / 0.7295 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.165, allocations: 119.4 kB / 0.7296 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006377/0.1656, allocations: 370.6 kB / 0.7299 GB, free: 13.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1656, allocations: 0 / 0.7299 GB, free: 13.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1656, allocations: 0 / 0.7299 GB, free: 13.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.1657, allocations: 4 kB / 0.7299 GB, free: 13.25 MB / 0.545 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.001115/0.1668, allocations: 0.5454 MB / 0.7305 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1668, allocations: 12.03 kB / 0.7305 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.069e-05/0.1669, allocations: 58.67 kB / 0.7305 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007233/0.1676, allocations: 96.66 kB / 0.7306 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.168, allocations: 260.6 kB / 0.7309 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.168, allocations: 16.81 kB / 0.7309 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.1681, allocations: 16.38 kB / 0.7309 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.1686, allocations: 320.4 kB / 0.7312 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1686, allocations: 3.938 kB / 0.7312 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.1686, allocations: 8 kB / 0.7312 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.1687, allocations: 20.42 kB / 0.7312 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1691, allocations: 209.6 kB / 0.7314 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.171, allocations: 1.502 MB / 0.7329 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.1715, allocations: 199.6 kB / 0.7331 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1716, allocations: 40.84 kB / 0.7331 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1716, allocations: 0 / 0.7331 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1716, allocations: 34.56 kB / 0.7332 GB, free: 9.605 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.1716, allocations: 0 / 0.7332 GB, free: 9.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006222/0.1722, allocations: 267.4 kB / 0.7334 GB, free: 9.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1723, allocations: 51.41 kB / 0.7335 GB, free: 9.254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1725, allocations: 206.9 kB / 0.7337 GB, free: 9.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1725, allocations: 33.7 kB / 0.7337 GB, free: 9.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1727, allocations: 184 kB / 0.7339 GB, free: 8.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1727, allocations: 31.73 kB / 0.7339 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1728, allocations: 37.67 kB / 0.7339 GB, free: 8.746 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1729, allocations: 322.8 kB / 0.7343 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1731, allocations: 47.97 kB / 0.7343 GB, free: 8.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1732, allocations: 114.3 kB / 0.7344 GB, free: 8.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1735, allocations: 164.4 kB / 0.7346 GB, free: 8.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1735, allocations: 3.984 kB / 0.7346 GB, free: 8.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000438/0.1739, allocations: 210.2 kB / 0.7348 GB, free: 7.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1739, allocations: 8 kB / 0.7348 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.174, allocations: 4 kB / 0.7348 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.1741, allocations: 28.88 kB / 0.7348 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.1743, allocations: 39.92 kB / 0.7348 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.1756, allocations: 1.425 MB / 0.7362 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1757, allocations: 24.08 kB / 0.7363 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1757, allocations: 8 kB / 0.7363 GB, free: 6.145 MB / 0.545 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.0001643/0.1759, allocations: 153.7 kB / 0.7364 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.176, allocations: 19.86 kB / 0.7364 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.176, allocations: 17.41 kB / 0.7365 GB, free: 5.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.176, allocations: 3.938 kB / 0.7365 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.176, allocations: 0 / 0.7365 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.176, allocations: 3.984 kB / 0.7365 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007352/0.1767, allocations: 487.2 kB / 0.7369 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1767, allocations: 0 / 0.7369 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.1768, allocations: 15.92 kB / 0.7369 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.796e-05/0.1769, allocations: 28.83 kB / 0.737 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-06/0.1769, allocations: 0 / 0.737 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.1783, allocations: 1.426 MB / 0.7384 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1783, allocations: 4.062 kB / 0.7384 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.1786, allocations: 232.2 kB / 0.7386 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1787, allocations: 105 kB / 0.7387 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1788, allocations: 0 / 0.7387 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1789, allocations: 8 kB / 0.7387 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.1789, allocations: 11.98 kB / 0.7387 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1789, allocations: 4 kB / 0.7387 GB, free: 3.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001574/0.1791, allocations: 152.5 kB / 0.7389 GB, free: 3.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1791, allocations: 0 / 0.7389 GB, free: 3.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003656/0.1795, allocations: 55.89 kB / 0.7389 GB, free: 3.195 MB / 0.545 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.0006779/0.1801, allocations: 0.7722 MB / 0.7397 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.1807, allocations: 226.5 kB / 0.7399 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1807, allocations: 0 / 0.7399 GB, free: 2.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.1809, allocations: 163.2 kB / 0.74 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1813, allocations: 41.61 kB / 0.7401 GB, free: 1.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.1841, allocations: 2.164 MB / 0.7422 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.1845, allocations: 0.7515 MB / 0.7429 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.1847, allocations: 29.53 kB / 0.7429 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.1848, allocations: 63.41 kB / 0.743 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.1848, allocations: 0 / 0.743 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.2171, allocations: 4.081 MB / 0.747 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.28, allocations: 8.594 kB / 0.747 GB, free: 10.84 MB / 0.5606 GB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.418980997055769] Failed to read output from testmodel.py, exit status != 0: 10.369868440087885 10.38808093 10.218594755 Calling exit ...