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.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.0006614/0.0006614, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.000772/0.000772, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9093/0.9093, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001545/0.001545, allocations: 233.5 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.6614/0.6614, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 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: 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 1.934e-06/1.934e-06, allocations: 0 / 0.6475 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.825e-05, allocations: 9.031 kB / 0.6475 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.247/0.247, allocations: 3.018 MB / 0.6504 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2489, allocations: 1.863 MB / 0.6523 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.249, allocations: 8.375 kB / 0.6523 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.2496, allocations: 277 kB / 0.6525 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.2499, allocations: 203 kB / 0.6527 GB, free: 55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2502, allocations: 257.6 kB / 0.653 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2505, allocations: 332.6 kB / 0.6533 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.2507, allocations: 154.8 kB / 0.6534 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.251, allocations: 187.8 kB / 0.6536 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.2512, allocations: 134.5 kB / 0.6537 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2512, allocations: 20.38 kB / 0.6538 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.2516, allocations: 387.4 kB / 0.6541 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.2516, allocations: 92.06 kB / 0.6542 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.2517, allocations: 83.64 kB / 0.6543 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.2522, allocations: 0.5209 MB / 0.6548 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2522, allocations: 0 / 0.6548 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.454e-06/0.2522, allocations: 2.641 kB / 0.6548 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2522, allocations: 0.5938 kB / 0.6548 GB, free: 54.17 MB / 0.5573 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.0005911/0.2528, allocations: 0.4888 MB / 0.6553 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2528, allocations: 11.16 kB / 0.6553 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.2533, allocations: 118.8 kB / 0.6554 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.2535, allocations: 204.8 kB / 0.6556 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2535, allocations: 13.72 kB / 0.6556 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2535, allocations: 20.73 kB / 0.6556 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.2539, allocations: 410.2 kB / 0.656 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2539, allocations: 192 / 0.656 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.254, allocations: 10.12 kB / 0.656 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.254, allocations: 30.52 kB / 0.6561 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.2543, allocations: 295.4 kB / 0.6564 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.2554, allocations: 1.222 MB / 0.6576 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.2557, allocations: 242.9 kB / 0.6578 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2558, allocations: 99.61 kB / 0.6579 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/0.2559, allocations: 11 kB / 0.6579 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.2559, allocations: 34.38 kB / 0.6579 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.2559, allocations: 1.719 kB / 0.6579 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.001504/0.2574, allocations: 0.9005 MB / 0.6588 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.2574, allocations: 78.73 kB / 0.6589 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2576, allocations: 215.4 kB / 0.6591 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.2576, allocations: 33.17 kB / 0.6591 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.2577, allocations: 174.5 kB / 0.6593 GB, free: 51.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.2577, allocations: 77.98 kB / 0.6594 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.2578, allocations: 64.17 kB / 0.6594 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.2578, allocations: 335.1 kB / 0.6597 GB, free: 50.92 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2579, allocations: 126.9 kB / 0.6599 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2581, allocations: 221 kB / 0.6601 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2584, allocations: 362.8 kB / 0.6604 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2584, allocations: 2.438 kB / 0.6604 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005401/0.2589, allocations: 0.5115 MB / 0.6609 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.259, allocations: 5.469 kB / 0.6609 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.259, allocations: 1.719 kB / 0.6609 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003196/0.2593, allocations: 156.6 kB / 0.6611 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2594, allocations: 56.42 kB / 0.6611 GB, free: 50.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.2609, allocations: 3.932 MB / 0.665 GB, free: 46.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.261, allocations: 23.69 kB / 0.665 GB, free: 46.53 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2611, allocations: 14.64 kB / 0.665 GB, free: 46.52 MB / 0.5573 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.0001032/0.2612, allocations: 167.9 kB / 0.6652 GB, free: 46.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.2612, allocations: 26.03 kB / 0.6652 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/0.2617, allocations: 469.8 kB / 0.6656 GB, free: 46.15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2617, allocations: 2.188 kB / 0.6656 GB, free: 46.15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2618, allocations: 2.938 kB / 0.6656 GB, free: 46.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2618, allocations: 6.391 kB / 0.6656 GB, free: 46.15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.2627, allocations: 0.8934 MB / 0.6665 GB, free: 45.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2627, allocations: 2.031 kB / 0.6665 GB, free: 45.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.2627, allocations: 30.31 kB / 0.6665 GB, free: 45.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.263, allocations: 151.1 kB / 0.6667 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.263, allocations: 10.56 kB / 0.6667 GB, free: 45.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.2642, allocations: 3.894 MB / 0.6705 GB, free: 41.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2642, allocations: 7.719 kB / 0.6705 GB, free: 41.86 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.2647, allocations: 0.6106 MB / 0.6711 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.2648, allocations: 52.41 kB / 0.6712 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2648, allocations: 10.94 kB / 0.6712 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2649, allocations: 22.91 kB / 0.6712 GB, free: 41.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.2649, allocations: 26.14 kB / 0.6712 GB, free: 41.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.265, allocations: 13.38 kB / 0.6712 GB, free: 41.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.962e-05/0.265, allocations: 151.4 kB / 0.6714 GB, free: 41.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.265, allocations: 2.531 kB / 0.6714 GB, free: 41.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000375/0.2654, allocations: 89.84 kB / 0.6715 GB, free: 41.27 MB / 0.5573 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.0001875/0.2656, allocations: 153.9 kB / 0.6716 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005743/0.2662, allocations: 0.5667 MB / 0.6722 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2662, allocations: 0 / 0.6722 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.2664, allocations: 397.1 kB / 0.6725 GB, free: 40.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.2668, allocations: 43.61 kB / 0.6726 GB, free: 40.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.2675, allocations: 0.6599 MB / 0.6732 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.2676, allocations: 170.9 kB / 0.6734 GB, free: 40 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.2677, allocations: 23.31 kB / 0.6734 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of SimCode: time 6.82e-07/0.2677, allocations: 4 kB / 0.6734 GB, free: 39.99 MB / 0.5573 GB Notification: Performance of Templates: time 0.007622/0.2753, allocations: 7.818 MB / 0.681 GB, free: 39.41 MB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.017667751759291] Failed to read output from testmodel.py, exit status != 0: 0.2815367914736271 0.28936114 0.035374252 Calling exit ...