Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001304/0.001304, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001411/0.001411, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002537/0.002537, allocations: 290.3 kB / 312.7 MB, free: 2.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.17/1.17, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002831/0.002831, allocations: 101.9 kB / 0.7396 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1657, allocations: 95.39 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005193/0.1709, allocations: 3.333 MB / 0.836 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1733, allocations: 1.492 MB / 0.8374 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.1734, allocations: 7.938 kB / 0.8374 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1745, allocations: 350.6 kB / 0.8378 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.1748, allocations: 151.2 kB / 0.8379 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.1752, allocations: 163.5 kB / 0.8381 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.1756, allocations: 330.9 kB / 0.8384 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004091/0.1761, allocations: 200.1 kB / 0.8386 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.1763, allocations: 147.5 kB / 0.8387 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1766, allocations: 159.4 kB / 0.8389 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.1766, allocations: 20 kB / 0.8389 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.177, allocations: 183.6 kB / 0.8391 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.817e-05/0.1771, allocations: 79.8 kB / 0.8391 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1772, allocations: 123.4 kB / 0.8393 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.1777, allocations: 378.5 kB / 0.8396 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1777, allocations: 0 / 0.8396 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1777, allocations: 0 / 0.8396 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.1777, allocations: 0 / 0.8396 GB, free: 1.574 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.000954/0.1787, allocations: 481.4 kB / 0.8401 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1787, allocations: 9.344 kB / 0.8401 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.1788, allocations: 62.7 kB / 0.8401 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006914/0.1795, allocations: 84.72 kB / 0.8402 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1799, allocations: 203.4 kB / 0.8404 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.1799, allocations: 20.81 kB / 0.8404 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.1799, allocations: 20.36 kB / 0.8405 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.1804, allocations: 316.4 kB / 0.8408 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1805, allocations: 0 / 0.8408 GB, free: 324 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1805, allocations: 8 kB / 0.8408 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.1805, allocations: 16.42 kB / 0.8408 GB, free: 296 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.1809, allocations: 213.6 kB / 0.841 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1827, allocations: 1.463 MB / 0.8424 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.1831, allocations: 122.5 kB / 0.8425 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.68e-05/0.1832, allocations: 48.77 kB / 0.8426 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1832, allocations: 0 / 0.8426 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1832, allocations: 30.56 kB / 0.8426 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1832, allocations: 0 / 0.8426 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.1838, allocations: 194.3 kB / 0.8428 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1838, allocations: 51.41 kB / 0.8428 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.184, allocations: 211.9 kB / 0.843 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.184, allocations: 29.7 kB / 0.8431 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1842, allocations: 183.9 kB / 0.8432 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1842, allocations: 31.73 kB / 0.8433 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.1843, allocations: 33.7 kB / 0.8433 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1844, allocations: 330.8 kB / 0.8436 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.1845, allocations: 43.97 kB / 0.8437 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1846, allocations: 107.1 kB / 0.8438 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.1849, allocations: 172.4 kB / 0.8439 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1849, allocations: 0 / 0.8439 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003748/0.1853, allocations: 218.1 kB / 0.8441 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1853, allocations: 4 kB / 0.8441 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1853, allocations: 4.281 kB / 0.8441 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.1855, allocations: 32.78 kB / 0.8442 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1856, allocations: 35.91 kB / 0.8442 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.1867, allocations: 1.322 MB / 0.8455 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.1869, allocations: 27.77 kB / 0.8455 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1869, allocations: 8 kB / 0.8455 GB, free: 10.99 MB / 0.5919 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.0001455/0.187, allocations: 150.5 kB / 0.8457 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.1871, allocations: 15.91 kB / 0.8457 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.1871, allocations: 21.39 kB / 0.8457 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1871, allocations: 4 kB / 0.8457 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1871, allocations: 3.938 kB / 0.8457 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1871, allocations: 0 / 0.8457 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006312/0.1878, allocations: 450.3 kB / 0.8462 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1878, allocations: 0 / 0.8462 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.1878, allocations: 23.92 kB / 0.8462 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.986e-05/0.1879, allocations: 20.94 kB / 0.8462 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1879, allocations: 7.938 kB / 0.8462 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.189, allocations: 1.322 MB / 0.8475 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.189, allocations: 3.938 kB / 0.8475 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.1893, allocations: 240.3 kB / 0.8477 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.1893, allocations: 31.81 kB / 0.8478 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1894, allocations: 0 / 0.8478 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1895, allocations: 8 kB / 0.8478 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1895, allocations: 11.98 kB / 0.8478 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1895, allocations: 0 / 0.8478 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001349/0.1897, allocations: 151.3 kB / 0.8479 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1897, allocations: 3.938 kB / 0.8479 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003705/0.19, allocations: 59.84 kB / 0.848 GB, free: 8.289 MB / 0.5919 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.0006032/0.1906, allocations: 0.7684 MB / 0.8487 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.1911, allocations: 222.7 kB / 0.8489 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1911, allocations: 0 / 0.8489 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1914, allocations: 162.6 kB / 0.8491 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1917, allocations: 36.88 kB / 0.8491 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.1943, allocations: 2.165 MB / 0.8513 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1947, allocations: 0.7593 MB / 0.852 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.1948, allocations: 25.47 kB / 0.852 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.1949, allocations: 63.61 kB / 0.8521 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1949, allocations: 0 / 0.8521 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04029/0.2352, allocations: 4.226 MB / 0.8562 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.76, allocations: 1.25 kB / 0.8562 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.787799718000315] Failed to read output from testmodel.py, exit status != 0: 10.869378960000176 10.8963972 10.713713244 Calling exit ...