Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 100.1 kB / 16.39 MB, free: 6.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 192.6 kB / 19.35 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.048/1.048, allocations: 173.4 MB / 470.7 MB, free: 13.58 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002655, allocations: 68.14 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1629, allocations: 89.53 MB / 0.7352 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.004903/0.1679, allocations: 3.201 MB / 0.7384 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1701, allocations: 1.379 MB / 0.7397 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.1702, allocations: 4 kB / 0.7397 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.1712, allocations: 338.6 kB / 0.74 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.1715, allocations: 147.2 kB / 0.7402 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1719, allocations: 139.6 kB / 0.7403 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.1723, allocations: 338.8 kB / 0.7406 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004213/0.1727, allocations: 243.7 kB / 0.7409 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.1729, allocations: 139.5 kB / 0.741 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1732, allocations: 151.4 kB / 0.7411 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.1732, allocations: 24 kB / 0.7412 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1735, allocations: 167.6 kB / 0.7413 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1737, allocations: 83.8 kB / 0.7414 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1738, allocations: 119.4 kB / 0.7415 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.1743, allocations: 358.6 kB / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1743, allocations: 0 / 0.7419 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1743, allocations: 3.938 kB / 0.7419 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1743, allocations: 3.984 kB / 0.7419 GB, free: 11.38 MB / 0.5762 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.0008752/0.1752, allocations: 0.5493 MB / 0.7424 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1752, allocations: 12.03 kB / 0.7424 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.1753, allocations: 58.72 kB / 0.7425 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005598/0.1759, allocations: 72.73 kB / 0.7425 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1762, allocations: 267.1 kB / 0.7428 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.1763, allocations: 20.81 kB / 0.7428 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1763, allocations: 20.38 kB / 0.7428 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.1768, allocations: 308.5 kB / 0.7431 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1768, allocations: 3.938 kB / 0.7431 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1768, allocations: 12 kB / 0.7431 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.1769, allocations: 20.41 kB / 0.7432 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.1773, allocations: 217.6 kB / 0.7434 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1789, allocations: 1.482 MB / 0.7448 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.1794, allocations: 207.7 kB / 0.745 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.1795, allocations: 52.77 kB / 0.7451 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.1795, allocations: 0 / 0.7451 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1795, allocations: 34.62 kB / 0.7451 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 9.31e-07/0.1796, allocations: 0 / 0.7451 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0006015/0.1802, allocations: 263.5 kB / 0.7453 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1802, allocations: 55.34 kB / 0.7454 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1804, allocations: 208.3 kB / 0.7456 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1805, allocations: 33.64 kB / 0.7456 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1806, allocations: 176 kB / 0.7458 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1806, allocations: 35.72 kB / 0.7458 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.1807, allocations: 33.72 kB / 0.7459 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1808, allocations: 334.8 kB / 0.7462 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1809, allocations: 47.97 kB / 0.7462 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1811, allocations: 106.4 kB / 0.7463 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1814, allocations: 176.4 kB / 0.7465 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1814, allocations: 0 / 0.7465 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003863/0.1818, allocations: 206.1 kB / 0.7467 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1818, allocations: 10.19 kB / 0.7467 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1818, allocations: 0.6719 kB / 0.7467 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001657/0.182, allocations: 36.78 kB / 0.7467 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1821, allocations: 27.98 kB / 0.7468 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1834, allocations: 1.421 MB / 0.7482 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1836, allocations: 27.83 kB / 0.7482 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.1836, allocations: 7.984 kB / 0.7482 GB, free: 4.293 MB / 0.5762 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.0001457/0.1837, allocations: 157.8 kB / 0.7483 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.1838, allocations: 19.89 kB / 0.7484 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.1838, allocations: 21.39 kB / 0.7484 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1838, allocations: 0 / 0.7484 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1838, allocations: 0 / 0.7484 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1838, allocations: 0 / 0.7484 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.1845, allocations: 495.1 kB / 0.7489 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1845, allocations: 0 / 0.7489 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.1846, allocations: 15.98 kB / 0.7489 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.492e-05/0.1846, allocations: 24.84 kB / 0.7489 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1847, allocations: 0 / 0.7489 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.1858, allocations: 1.425 MB / 0.7503 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1858, allocations: 4.125 kB / 0.7503 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.1861, allocations: 244.2 kB / 0.7505 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.1862, allocations: 101 kB / 0.7506 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1863, allocations: 0 / 0.7506 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1864, allocations: 8 kB / 0.7506 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.1864, allocations: 7.984 kB / 0.7506 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.1864, allocations: 0 / 0.7506 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001319/0.1866, allocations: 153.4 kB / 0.7508 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1866, allocations: 0 / 0.7508 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003305/0.1869, allocations: 59.84 kB / 0.7508 GB, free: 1.332 MB / 0.5762 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.0006219/0.1875, allocations: 0.7649 MB / 0.7516 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.188, allocations: 238.7 kB / 0.7518 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.188, allocations: 0 / 0.7518 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.1882, allocations: 162.6 kB / 0.752 GB, free: 120 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1886, allocations: 35.91 kB / 0.752 GB, free: 84 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/0.4971, allocations: 2.128 MB / 0.7541 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4974, allocations: 0.7554 MB / 0.7548 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.4976, allocations: 28.69 kB / 0.7548 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.4977, allocations: 58.5 kB / 0.7549 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.4977, allocations: 0 / 0.7549 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.5287, allocations: 4.02 MB / 0.7588 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.759/10.29, allocations: 6.344 kB / 0.7588 GB, free: 15.96 MB / 0.5762 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Electrical_DC_Sources_Examples_VoltageSource.fmu > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.114385314984247] Failed to read output from testmodel.py, exit status != 0: 10.372850505169481 10.397690376 10.218350237 Calling exit ...