Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001457/0.001457, allocations: 109.4 kB / 19.58 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.001477/0.001477, allocations: 190.4 kB / 22.85 MB, free: 5.648 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.283/1.283, 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.002386/0.002386, allocations: 278.3 kB / 307 MB, free: 8.383 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.131/1.131, allocations: 180.8 MB / 0.5304 GB, free: 14.45 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 100.8 kB / 0.7311 GB, free: 38.64 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1343, allocations: 94.2 MB / 0.823 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004719/0.139, allocations: 3.17 MB / 0.8261 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.1419, allocations: 1.952 MB / 0.828 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.73e-05/0.142, allocations: 11.94 kB / 0.8281 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008749/0.1429, allocations: 294.8 kB / 0.8283 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1433, allocations: 195.1 kB / 0.8285 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.1438, allocations: 247.2 kB / 0.8288 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.1442, allocations: 326.7 kB / 0.8291 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1444, allocations: 141.1 kB / 0.8292 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1446, allocations: 135.5 kB / 0.8293 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.1449, allocations: 155.5 kB / 0.8295 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.1449, allocations: 20 kB / 0.8295 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.1455, allocations: 379.2 kB / 0.8299 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.1456, allocations: 87.72 kB / 0.83 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1457, allocations: 123.4 kB / 0.8301 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.1463, allocations: 498.3 kB / 0.8305 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1463, allocations: 0 / 0.8305 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1463, allocations: 0 / 0.8305 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.1463, allocations: 3.938 kB / 0.8305 GB, free: 10.36 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007608/0.1471, allocations: 497.1 kB / 0.831 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1471, allocations: 8.031 kB / 0.831 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007509/0.1478, allocations: 116.7 kB / 0.8311 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1481, allocations: 208.3 kB / 0.8313 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1482, allocations: 12.81 kB / 0.8314 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.1482, allocations: 16.38 kB / 0.8314 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.1487, allocations: 357.1 kB / 0.8317 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1487, allocations: 3.938 kB / 0.8317 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1488, allocations: 12 kB / 0.8317 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.1488, allocations: 20.42 kB / 0.8317 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.1493, allocations: 293.5 kB / 0.832 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.1514, allocations: 1.635 MB / 0.8336 GB, free: 7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.1518, allocations: 233.1 kB / 0.8338 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.152, allocations: 97.67 kB / 0.8339 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/0.1521, allocations: 15.92 kB / 0.8339 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1521, allocations: 46.5 kB / 0.834 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.1521, allocations: 0 / 0.834 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002294/0.1544, allocations: 0.8791 MB / 0.8349 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.1545, allocations: 93.02 kB / 0.8349 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1547, allocations: 225 kB / 0.8352 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.1547, allocations: 29.64 kB / 0.8352 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1548, allocations: 168.5 kB / 0.8353 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.1549, allocations: 87.27 kB / 0.8354 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.155, allocations: 61.66 kB / 0.8355 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1551, allocations: 334.8 kB / 0.8358 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.1553, allocations: 131.9 kB / 0.8359 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1556, allocations: 207.1 kB / 0.8361 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.1561, allocations: 369.8 kB / 0.8365 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1561, allocations: 96 / 0.8365 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008531/0.1569, allocations: 0.5159 MB / 0.837 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1569, allocations: 6.188 kB / 0.837 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1569, allocations: 8 kB / 0.837 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.1574, allocations: 155.3 kB / 0.8371 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.1577, allocations: 51.97 kB / 0.8372 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/0.1609, allocations: 3.984 MB / 0.8411 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1611, allocations: 15.98 kB / 0.8411 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.1611, allocations: 16 kB / 0.8411 GB, free: 14.84 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.1612, allocations: 165.8 kB / 0.8413 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.1613, allocations: 27.8 kB / 0.8413 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008464/0.1622, allocations: 474.6 kB / 0.8418 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1622, allocations: 7.984 kB / 0.8418 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1622, allocations: 0 / 0.8418 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1622, allocations: 3.984 kB / 0.8418 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1637, allocations: 0.9677 MB / 0.8427 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1637, allocations: 4 kB / 0.8427 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.1638, allocations: 31.92 kB / 0.8427 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.1642, allocations: 147.6 kB / 0.8429 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1642, allocations: 4 kB / 0.8429 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.1671, allocations: 3.968 MB / 0.8468 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1671, allocations: 7.938 kB / 0.8468 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.1679, allocations: 0.6211 MB / 0.8474 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.168, allocations: 51.88 kB / 0.8474 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.168, allocations: 15.89 kB / 0.8474 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1682, allocations: 15.98 kB / 0.8475 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1683, allocations: 23.95 kB / 0.8475 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1683, allocations: 11.94 kB / 0.8475 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001401/0.1684, allocations: 153.5 kB / 0.8476 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 4 kB / 0.8476 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004531/0.1689, allocations: 91.92 kB / 0.8477 GB, free: 7.613 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001778/0.1691, allocations: 132.1 kB / 0.8479 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008805/0.1699, allocations: 0.5597 MB / 0.8484 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1699, allocations: 4 kB / 0.8484 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.1704, allocations: 392.2 kB / 0.8488 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.1709, allocations: 56.91 kB / 0.8488 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009561/0.1719, allocations: 0.6304 MB / 0.8495 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1723, allocations: 0.7792 MB / 0.8502 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.1724, allocations: 58.23 kB / 0.8503 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.1724, allocations: 19.44 kB / 0.8503 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1724, allocations: 0 / 0.8503 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.008525/0.181, allocations: 4.469 MB / 0.8547 GB, free: 440 kB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.515763488998346] Failed to read output from testmodel.py, exit status != 0: 0.1880026050057495 0.201929257 0.052849788 Calling exit ...