Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001324/0.001324, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.00165/0.00165, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.002522/0.002522, allocations: 244.8 kB / 259.4 MB, free: 476 kB / 238.1 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 1.067/1.067, allocations: 138.4 MB / 454.3 MB, free: 2.008 MB / 366.1 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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 4 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.269e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004786/0.004808, allocations: 3.213 MB / 0.6499 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2482/0.253, allocations: 1.958 MB / 0.6518 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.2532, allocations: 10.44 kB / 0.6518 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008979/0.2541, allocations: 292.4 kB / 0.6521 GB, free: 53.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.2546, allocations: 241.8 kB / 0.6524 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.2552, allocations: 295 kB / 0.6526 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.2556, allocations: 422.5 kB / 0.653 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.2558, allocations: 166.5 kB / 0.6532 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.2561, allocations: 223.4 kB / 0.6534 GB, free: 53.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2564, allocations: 192.8 kB / 0.6536 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.2564, allocations: 21.72 kB / 0.6536 GB, free: 53.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2567, allocations: 245.1 kB / 0.6539 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2568, allocations: 131.5 kB / 0.654 GB, free: 53.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2569, allocations: 104.6 kB / 0.6541 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.2574, allocations: 0.5059 MB / 0.6546 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2574, allocations: 2.75 kB / 0.6546 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2574, allocations: 3.625 kB / 0.6546 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2574, allocations: 2.344 kB / 0.6546 GB, free: 53.1 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008576/0.2582, allocations: 0.5229 MB / 0.6551 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.2583, allocations: 7.812 kB / 0.6551 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.2592, allocations: 119.1 kB / 0.6552 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2595, allocations: 223.1 kB / 0.6554 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2595, allocations: 17.58 kB / 0.6554 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.2596, allocations: 43.36 kB / 0.6555 GB, free: 52.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.2602, allocations: 0.5205 MB / 0.656 GB, free: 52.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2602, allocations: 1.062 kB / 0.656 GB, free: 52.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.2603, allocations: 12.48 kB / 0.656 GB, free: 52.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.2604, allocations: 44.98 kB / 0.656 GB, free: 52.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.2609, allocations: 360.6 kB / 0.6564 GB, free: 52.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.2627, allocations: 1.588 MB / 0.6579 GB, free: 51.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.2631, allocations: 242.8 kB / 0.6582 GB, free: 51.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.2632, allocations: 145 kB / 0.6583 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.2633, allocations: 4.031 kB / 0.6583 GB, free: 51.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.2633, allocations: 38.28 kB / 0.6584 GB, free: 51.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2633, allocations: 0 / 0.6584 GB, free: 51.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001431/0.2647, allocations: 0.9061 MB / 0.6592 GB, free: 50.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.367e-05/0.2647, allocations: 55.97 kB / 0.6593 GB, free: 50.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.265, allocations: 253.8 kB / 0.6595 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.265, allocations: 29.7 kB / 0.6596 GB, free: 50.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.265, allocations: 194 kB / 0.6597 GB, free: 50.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.2651, allocations: 88.39 kB / 0.6598 GB, free: 50.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2652, allocations: 78.83 kB / 0.6599 GB, free: 50.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.2652, allocations: 328.2 kB / 0.6602 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.2655, allocations: 168.5 kB / 0.6604 GB, free: 49.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.2657, allocations: 237.2 kB / 0.6606 GB, free: 49.72 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.2662, allocations: 413.9 kB / 0.661 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2662, allocations: 0 / 0.661 GB, free: 49.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001047/0.2673, allocations: 0.599 MB / 0.6616 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2673, allocations: 7.062 kB / 0.6616 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2673, allocations: 3.125 kB / 0.6616 GB, free: 49.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.2679, allocations: 191.8 kB / 0.6618 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.2682, allocations: 65.73 kB / 0.6618 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.2705, allocations: 2.342 MB / 0.6641 GB, free: 47.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2708, allocations: 21.94 kB / 0.6641 GB, free: 47.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2709, allocations: 22.06 kB / 0.6642 GB, free: 47.58 MB / 0.5606 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): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.271, allocations: 163.7 kB / 0.6643 GB, free: 47.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.2711, allocations: 22.8 kB / 0.6643 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.2715, allocations: 355.5 kB / 0.6647 GB, free: 47.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2715, allocations: 2.938 kB / 0.6647 GB, free: 47.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.2715, allocations: 3.938 kB / 0.6647 GB, free: 47.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2715, allocations: 3.562 kB / 0.6647 GB, free: 47.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007908/0.2723, allocations: 0.7 MB / 0.6654 GB, free: 46.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2723, allocations: 2.953 kB / 0.6654 GB, free: 46.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.2727, allocations: 79.33 kB / 0.6655 GB, free: 46.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2727, allocations: 3.062 kB / 0.6655 GB, free: 46.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.2728, allocations: 10.31 kB / 0.6655 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2728, allocations: 6.75 kB / 0.6655 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2728, allocations: 0 / 0.6655 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005858/0.2734, allocations: 0.6094 MB / 0.6661 GB, free: 46.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.2735, allocations: 51.22 kB / 0.6661 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.2735, allocations: 11.31 kB / 0.6661 GB, free: 46.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2738, allocations: 16.31 kB / 0.6661 GB, free: 46.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.2738, allocations: 21.11 kB / 0.6662 GB, free: 46.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.2738, allocations: 3 kB / 0.6662 GB, free: 46.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001732/0.274, allocations: 182.4 kB / 0.6663 GB, free: 46.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.274, allocations: 0 / 0.6663 GB, free: 46.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003953/0.2744, allocations: 91.5 kB / 0.6664 GB, free: 46.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001225/0.2745, allocations: 108.6 kB / 0.6665 GB, free: 46.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007822/0.2753, allocations: 0.52 MB / 0.667 GB, free: 46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2753, allocations: 2.625 kB / 0.667 GB, free: 46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2754, allocations: 140.2 kB / 0.6672 GB, free: 45.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.2759, allocations: 60.31 kB / 0.6672 GB, free: 45.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.277, allocations: 0.7302 MB / 0.6679 GB, free: 45.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2771, allocations: 178.5 kB / 0.6681 GB, free: 45.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001817/0.2773, allocations: 78.88 kB / 0.6682 GB, free: 45.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.2774, allocations: 29.66 kB / 0.6682 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2774, allocations: 0 / 0.6682 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.007879/0.2853, allocations: 4.168 MB / 0.6723 GB, free: 45.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9340122155845165] Failed to read output from testmodel.py, exit status != 0: 0.2926403433084488 0.303830207 0.043891023 Calling exit ...