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.00143/0.00143, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001569/0.001569, allocations: 191.7 kB / 22.85 MB, free: 5.652 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.313/1.313, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.002305/0.002305, allocations: 301.4 kB / 307.1 MB, free: 8.367 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.121/1.121, allocations: 180.8 MB / 0.5304 GB, free: 14.44 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: translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 98.36 kB / 0.7311 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1432, allocations: 94.2 MB / 0.823 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004884/0.1481, allocations: 3.302 MB / 0.8263 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.1501, allocations: 1.418 MB / 0.8277 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.839e-05/0.1502, allocations: 4 kB / 0.8277 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009848/0.1512, allocations: 354.6 kB / 0.828 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1515, allocations: 143.2 kB / 0.8281 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1518, allocations: 155.5 kB / 0.8283 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.1522, allocations: 334.6 kB / 0.8286 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.1525, allocations: 184.2 kB / 0.8288 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.1527, allocations: 151.5 kB / 0.8289 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.153, allocations: 155.4 kB / 0.8291 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.153, allocations: 20 kB / 0.8291 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.1533, allocations: 143.7 kB / 0.8292 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.1534, allocations: 91.72 kB / 0.8293 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1535, allocations: 123.4 kB / 0.8294 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.1539, allocations: 362.6 kB / 0.8298 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1539, allocations: 0 / 0.8298 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1539, allocations: 0 / 0.8298 GB, free: 11 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.1539, allocations: 0 / 0.8298 GB, free: 11 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.0007706/0.1547, allocations: 483.6 kB / 0.8302 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.1547, allocations: 12.03 kB / 0.8303 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005443/0.1553, allocations: 80.72 kB / 0.8303 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1556, allocations: 191.4 kB / 0.8305 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1556, allocations: 24.73 kB / 0.8305 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.1556, allocations: 20.38 kB / 0.8306 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.1561, allocations: 308.7 kB / 0.8308 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1561, allocations: 0 / 0.8308 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1561, allocations: 8 kB / 0.8309 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.1562, allocations: 28.36 kB / 0.8309 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.1565, allocations: 209.6 kB / 0.8311 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.1581, allocations: 1.455 MB / 0.8325 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.1585, allocations: 130.5 kB / 0.8326 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.1586, allocations: 40.83 kB / 0.8327 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1586, allocations: 4 kB / 0.8327 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1586, allocations: 34.5 kB / 0.8327 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1586, allocations: 0 / 0.8327 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0004907/0.1591, allocations: 182.4 kB / 0.8329 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1591, allocations: 55.41 kB / 0.8329 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1593, allocations: 209.1 kB / 0.8331 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1594, allocations: 25.7 kB / 0.8332 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1595, allocations: 179.9 kB / 0.8333 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.1595, allocations: 31.73 kB / 0.8334 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.1596, allocations: 37.66 kB / 0.8334 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1597, allocations: 334.8 kB / 0.8337 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.1598, allocations: 43.94 kB / 0.8338 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1599, allocations: 112.5 kB / 0.8339 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.1602, allocations: 172.4 kB / 0.834 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1602, allocations: 0 / 0.834 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003608/0.1605, allocations: 214.2 kB / 0.8342 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1605, allocations: 4.281 kB / 0.8342 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1605, allocations: 8 kB / 0.8342 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.1607, allocations: 28.78 kB / 0.8343 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1608, allocations: 31.92 kB / 0.8343 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.1619, allocations: 1.326 MB / 0.8356 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.162, allocations: 23.84 kB / 0.8356 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.162, allocations: 7.984 kB / 0.8356 GB, free: 4.512 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.0001287/0.1622, allocations: 153.8 kB / 0.8358 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.1622, allocations: 15.91 kB / 0.8358 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.1623, allocations: 21.39 kB / 0.8358 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1623, allocations: 4 kB / 0.8358 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1623, allocations: 0 / 0.8358 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1623, allocations: 3.984 kB / 0.8358 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.1629, allocations: 462.2 kB / 0.8363 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1629, allocations: 8 kB / 0.8363 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.1629, allocations: 8 kB / 0.8363 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-05/0.163, allocations: 24.83 kB / 0.8363 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.163, allocations: 4 kB / 0.8363 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.164, allocations: 1.318 MB / 0.8376 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.164, allocations: 11.95 kB / 0.8376 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.1643, allocations: 240.2 kB / 0.8378 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.1644, allocations: 23.89 kB / 0.8378 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1644, allocations: 0 / 0.8378 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1645, allocations: 7.984 kB / 0.8379 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1645, allocations: 11.98 kB / 0.8379 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.1645, allocations: 0 / 0.8379 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001317/0.1647, allocations: 145.5 kB / 0.838 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1647, allocations: 0 / 0.838 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003049/0.165, allocations: 67.78 kB / 0.8381 GB, free: 1.809 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 9.851e-05/0.1651, allocations: 96.23 kB / 0.8382 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.1655, allocations: 222.5 kB / 0.8384 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1655, allocations: 4.562 kB / 0.8384 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.1657, allocations: 162.6 kB / 0.8385 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.166, allocations: 34.73 kB / 0.8386 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.1666, allocations: 404.1 kB / 0.839 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.167, allocations: 0.7476 MB / 0.8397 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.401e-05/0.1671, allocations: 37.44 kB / 0.8397 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.1672, allocations: 11.44 kB / 0.8397 GB, free: 32 kB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1672, allocations: 4 kB / 0.8397 GB, free: 28 kB / 0.5762 GB Notification: Performance of Templates: time 0.005107/0.1723, allocations: 2.053 MB / 0.8417 GB, free: 14 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.494572055999015] Failed to read output from testmodel.py, exit status != 0: 0.17912768299720483 0.19297613400000002 0.036307820000000005 Calling exit ...