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: 112.2 kB / 16.46 MB, free: 6.453 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.001426/0.001426, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.353/1.353, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002387, allocations: 288.5 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.155/1.155, allocations: 180.9 MB / 0.5333 GB, free: 13.8 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002677/0.002677, allocations: 104 kB / 0.7342 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1539, allocations: 95.34 MB / 0.8273 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.00481/0.1587, allocations: 3.272 MB / 0.8305 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1609, allocations: 1.457 MB / 0.8319 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.161, allocations: 7.938 kB / 0.832 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009705/0.162, allocations: 350.5 kB / 0.8323 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.1623, allocations: 151.2 kB / 0.8324 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1626, allocations: 155.6 kB / 0.8326 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.163, allocations: 338.8 kB / 0.8329 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.1634, allocations: 195.8 kB / 0.8331 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1636, allocations: 151.5 kB / 0.8332 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.1638, allocations: 155.4 kB / 0.8334 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.1639, allocations: 20 kB / 0.8334 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1641, allocations: 175.6 kB / 0.8336 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.1642, allocations: 87.78 kB / 0.8337 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1644, allocations: 123.3 kB / 0.8338 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.1648, allocations: 366.6 kB / 0.8341 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1648, allocations: 4 kB / 0.8341 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1648, allocations: 4 kB / 0.8341 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1648, allocations: 0 / 0.8341 GB, free: 2.891 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.0008697/0.1657, allocations: 0.5415 MB / 0.8347 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1657, allocations: 15.97 kB / 0.8347 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.1658, allocations: 58.72 kB / 0.8347 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.1664, allocations: 88.72 kB / 0.8348 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1668, allocations: 261.3 kB / 0.8351 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.1668, allocations: 16.81 kB / 0.8351 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1668, allocations: 16.38 kB / 0.8351 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005096/0.1673, allocations: 324.4 kB / 0.8354 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1673, allocations: 0 / 0.8354 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.1674, allocations: 8 kB / 0.8354 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.1674, allocations: 16.42 kB / 0.8354 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003824/0.1678, allocations: 209.6 kB / 0.8356 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1694, allocations: 1.502 MB / 0.8371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.1698, allocations: 191.7 kB / 0.8373 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.1699, allocations: 44.83 kB / 0.8373 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1699, allocations: 0 / 0.8373 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1699, allocations: 38.56 kB / 0.8374 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1699, allocations: 3.938 kB / 0.8374 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0005522/0.1705, allocations: 271.4 kB / 0.8376 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1705, allocations: 51.41 kB / 0.8377 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1707, allocations: 215.9 kB / 0.8379 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1707, allocations: 29.7 kB / 0.8379 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1709, allocations: 180 kB / 0.8381 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1709, allocations: 27.75 kB / 0.8381 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.1709, allocations: 37.7 kB / 0.8381 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1711, allocations: 326.8 kB / 0.8384 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.1712, allocations: 43.97 kB / 0.8385 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1713, allocations: 118.2 kB / 0.8386 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1716, allocations: 164.4 kB / 0.8388 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1716, allocations: 0 / 0.8388 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003796/0.1719, allocations: 214.1 kB / 0.839 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.172, allocations: 7.984 kB / 0.839 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.172, allocations: 4 kB / 0.839 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.1721, allocations: 28.78 kB / 0.839 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1722, allocations: 35.92 kB / 0.839 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1734, allocations: 1.426 MB / 0.8404 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1735, allocations: 19.88 kB / 0.8405 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1735, allocations: 12 kB / 0.8405 GB, free: 11.79 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.0001335/0.1737, allocations: 149.6 kB / 0.8406 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.1737, allocations: 15.91 kB / 0.8406 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.1737, allocations: 21.39 kB / 0.8406 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1737, allocations: 0 / 0.8406 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1737, allocations: 4.094 kB / 0.8406 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1737, allocations: 8 kB / 0.8407 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.1744, allocations: 491.2 kB / 0.8411 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1744, allocations: 0 / 0.8411 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/0.1744, allocations: 12 kB / 0.8411 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.35e-05/0.1745, allocations: 20.84 kB / 0.8412 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.1745, allocations: 3.938 kB / 0.8412 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.1756, allocations: 1.433 MB / 0.8426 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1756, allocations: 0 / 0.8426 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1759, allocations: 228.7 kB / 0.8428 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/0.176, allocations: 101 kB / 0.8429 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.176, allocations: 4 kB / 0.8429 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1761, allocations: 7.984 kB / 0.8429 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1762, allocations: 12 kB / 0.8429 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1762, allocations: 8 kB / 0.8429 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001383/0.1763, allocations: 155.3 kB / 0.843 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1763, allocations: 0 / 0.843 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003301/0.1767, allocations: 63.78 kB / 0.8431 GB, free: 8.84 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.0006108/0.1773, allocations: 0.7757 MB / 0.8439 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.1777, allocations: 218.6 kB / 0.8441 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1777, allocations: 0 / 0.8441 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.1779, allocations: 167.2 kB / 0.8442 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1783, allocations: 35.05 kB / 0.8443 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1807, allocations: 2.163 MB / 0.8464 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1811, allocations: 0.7554 MB / 0.8471 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.384e-05/0.1812, allocations: 25.53 kB / 0.8471 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.1813, allocations: 59.41 kB / 0.8472 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1813, allocations: 0 / 0.8472 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.2113, allocations: 4.102 MB / 0.8512 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.577/9.788, allocations: 9.531 kB / 0.8512 GB, free: 500 kB / 0.5919 GB " [Timeout remaining time 650] (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: 13.750342104583979] Failed to read output from testmodel.py, exit status != 0: 9.873959039803594 9.901745369 9.731925958 Calling exit ...