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.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.001279/0.001279, allocations: 111.6 kB / 16.46 MB, free: 6.035 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.001248/0.001248, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.328/1.328, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 179] 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.002382/0.002382, allocations: 275.8 kB / 303 MB, free: 9.496 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.147/1.147, allocations: 180.9 MB / 0.5261 GB, free: 14.65 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.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(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: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 100.2 kB / 0.7247 GB, free: 39.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1428, allocations: 94.15 MB / 0.8167 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004792/0.1476, allocations: 3.246 MB / 0.8199 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1498, allocations: 1.395 MB / 0.8212 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1499, allocations: 4 kB / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.151, allocations: 345.3 kB / 0.8216 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1514, allocations: 151.2 kB / 0.8217 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1518, allocations: 151.6 kB / 0.8218 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.1522, allocations: 326.6 kB / 0.8222 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.1526, allocations: 212 kB / 0.8224 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1528, allocations: 139.5 kB / 0.8225 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.153, allocations: 155.4 kB / 0.8226 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.1531, allocations: 23.94 kB / 0.8227 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.1533, allocations: 167.6 kB / 0.8228 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.1534, allocations: 91.7 kB / 0.8229 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1536, allocations: 123.4 kB / 0.823 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.154, allocations: 366.6 kB / 0.8234 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.154, allocations: 0 / 0.8234 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.154, allocations: 0 / 0.8234 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.154, allocations: 0 / 0.8234 GB, free: 14.56 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.0009086/0.1549, allocations: 0.5453 MB / 0.8239 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.155, allocations: 12.03 kB / 0.8239 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.135e-05/0.155, allocations: 58.73 kB / 0.824 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/0.1556, allocations: 84.67 kB / 0.8241 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1559, allocations: 248 kB / 0.8243 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.156, allocations: 12.81 kB / 0.8243 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.156, allocations: 20.38 kB / 0.8243 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.1565, allocations: 316.4 kB / 0.8246 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1565, allocations: 0 / 0.8246 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.1565, allocations: 15.98 kB / 0.8246 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.1566, allocations: 12.44 kB / 0.8247 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.1569, allocations: 217.4 kB / 0.8249 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1586, allocations: 1.502 MB / 0.8263 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.159, allocations: 191.7 kB / 0.8265 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.1591, allocations: 36.84 kB / 0.8265 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1591, allocations: 4 kB / 0.8266 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1591, allocations: 42.5 kB / 0.8266 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1591, allocations: 0 / 0.8266 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.1597, allocations: 259.5 kB / 0.8268 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1597, allocations: 51.41 kB / 0.8269 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1599, allocations: 216.3 kB / 0.8271 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.16, allocations: 29.7 kB / 0.8271 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1601, allocations: 176 kB / 0.8273 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1601, allocations: 27.75 kB / 0.8273 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.1602, allocations: 37.66 kB / 0.8274 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1603, allocations: 326.8 kB / 0.8277 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1604, allocations: 47.91 kB / 0.8277 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.1606, allocations: 115.1 kB / 0.8278 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.1608, allocations: 164.4 kB / 0.828 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1608, allocations: 0 / 0.828 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003792/0.1612, allocations: 218.1 kB / 0.8282 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1612, allocations: 8 kB / 0.8282 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1612, allocations: 4 kB / 0.8282 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.1614, allocations: 33 kB / 0.8282 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1615, allocations: 31.98 kB / 0.8283 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1626, allocations: 1.433 MB / 0.8297 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1628, allocations: 19.89 kB / 0.8297 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1628, allocations: 8 kB / 0.8297 GB, free: 7.492 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.0001391/0.1629, allocations: 158.9 kB / 0.8298 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.163, allocations: 15.91 kB / 0.8299 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.163, allocations: 17.41 kB / 0.8299 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.163, allocations: 4.062 kB / 0.8299 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.163, allocations: 0 / 0.8299 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.163, allocations: 0 / 0.8299 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.1636, allocations: 499.1 kB / 0.8303 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1636, allocations: 0 / 0.8303 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.1637, allocations: 8 kB / 0.8304 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.138e-05/0.1638, allocations: 28.84 kB / 0.8304 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1638, allocations: 7.969 kB / 0.8304 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1649, allocations: 1.418 MB / 0.8318 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1649, allocations: 0 / 0.8318 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1652, allocations: 240.1 kB / 0.832 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.1653, allocations: 104.9 kB / 0.8321 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.1653, allocations: 4 kB / 0.8321 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1654, allocations: 12.05 kB / 0.8321 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1655, allocations: 4 kB / 0.8321 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1655, allocations: 7.984 kB / 0.8321 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00013/0.1656, allocations: 152.1 kB / 0.8323 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1656, allocations: 0 / 0.8323 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003174/0.1659, allocations: 55.89 kB / 0.8323 GB, free: 4.535 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.0006047/0.1665, allocations: 0.7707 MB / 0.8331 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000424/0.167, allocations: 230.9 kB / 0.8333 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.167, allocations: 4.188 kB / 0.8333 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.1672, allocations: 155.3 kB / 0.8335 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1675, allocations: 38.41 kB / 0.8335 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.17, allocations: 2.154 MB / 0.8356 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1704, allocations: 0.7515 MB / 0.8363 GB, free: 220 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.412e-05/0.1705, allocations: 25.53 kB / 0.8364 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.1706, allocations: 59.42 kB / 0.8364 GB, free: 136 kB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.1706, allocations: 0 / 0.8364 GB, free: 136 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.1995, allocations: 4.061 MB / 0.8404 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.313/9.512, allocations: 8.297 kB / 0.8404 GB, free: 12.23 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.345474929083139] Failed to read output from testmodel.py, exit status != 0: 9.591964504681528 9.605171915 9.448449355 Calling exit ...