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.001894/0.001894, allocations: 80.92 kB / 19.18 MB, free: 2.52 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.002795/0.002795, allocations: 167.6 kB / 22.46 MB, free: 5.375 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.43/1.43, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.002481/0.002481, allocations: 245.4 kB / 259.4 MB, free: 464 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.107/1.107, allocations: 138.4 MB / 454.3 MB, free: 2.023 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.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.453e-06/1.453e-06, allocations: 0 / 0.6468 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.131e-05, allocations: 9.875 kB / 0.6468 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004714/0.004745, allocations: 3.038 MB / 0.6497 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0032/0.007945, allocations: 1.851 MB / 0.6516 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.008054, allocations: 7.938 kB / 0.6516 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.2517/0.2598, allocations: 273.4 kB / 0.6518 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.2604, allocations: 197 kB / 0.652 GB, free: 53.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.261, allocations: 260.5 kB / 0.6523 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.2613, allocations: 334.2 kB / 0.6526 GB, free: 53.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2616, allocations: 148.9 kB / 0.6527 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.2619, allocations: 190.4 kB / 0.6529 GB, free: 53.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2621, allocations: 136.8 kB / 0.653 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.2621, allocations: 21.41 kB / 0.6531 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.2626, allocations: 386.8 kB / 0.6534 GB, free: 53.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.2627, allocations: 87.42 kB / 0.6535 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.655e-05/0.2628, allocations: 83.39 kB / 0.6536 GB, free: 53.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.2633, allocations: 0.5164 MB / 0.6541 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2633, allocations: 0.5625 kB / 0.6541 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2633, allocations: 3.938 kB / 0.6541 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2633, allocations: 0.5 kB / 0.6541 GB, free: 53.18 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000704/0.264, allocations: 0.4907 MB / 0.6546 GB, free: 52.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2641, allocations: 10.56 kB / 0.6546 GB, free: 52.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007828/0.2648, allocations: 115.8 kB / 0.6547 GB, free: 52.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2651, allocations: 209.8 kB / 0.6549 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2651, allocations: 16.28 kB / 0.6549 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.2652, allocations: 18.84 kB / 0.6549 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.2656, allocations: 404.5 kB / 0.6553 GB, free: 52.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.2656, allocations: 6.938 kB / 0.6553 GB, free: 52.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.2657, allocations: 6.922 kB / 0.6553 GB, free: 52.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.2657, allocations: 29.52 kB / 0.6554 GB, free: 52.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.2661, allocations: 295.3 kB / 0.6556 GB, free: 52.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.2676, allocations: 1.225 MB / 0.6568 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.2679, allocations: 239.7 kB / 0.6571 GB, free: 51.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.2681, allocations: 99.03 kB / 0.6572 GB, free: 51.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/0.2681, allocations: 16.12 kB / 0.6572 GB, free: 51.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.2682, allocations: 36.06 kB / 0.6572 GB, free: 51.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2682, allocations: 0 / 0.6572 GB, free: 51.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002194/0.2704, allocations: 0.894 MB / 0.6581 GB, free: 51.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2704, allocations: 82.92 kB / 0.6582 GB, free: 51.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2705, allocations: 216.5 kB / 0.6584 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2706, allocations: 30.45 kB / 0.6584 GB, free: 51.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2706, allocations: 171.9 kB / 0.6586 GB, free: 51.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.2707, allocations: 90.39 kB / 0.6586 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.2707, allocations: 62.66 kB / 0.6587 GB, free: 50.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.2708, allocations: 337 kB / 0.659 GB, free: 50.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.2709, allocations: 128.5 kB / 0.6591 GB, free: 50.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2711, allocations: 211.2 kB / 0.6593 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.2715, allocations: 361.5 kB / 0.6597 GB, free: 50.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2715, allocations: 0.6875 kB / 0.6597 GB, free: 50.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007204/0.2722, allocations: 0.5077 MB / 0.6602 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2722, allocations: 6.5 kB / 0.6602 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2722, allocations: 3.859 kB / 0.6602 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.2727, allocations: 149.2 kB / 0.6603 GB, free: 49.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.2729, allocations: 59.27 kB / 0.6604 GB, free: 49.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.2749, allocations: 3.944 MB / 0.6642 GB, free: 46.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.2751, allocations: 23.95 kB / 0.6643 GB, free: 46.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2751, allocations: 9.625 kB / 0.6643 GB, free: 46.26 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): 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.0001189/0.2752, allocations: 168.2 kB / 0.6644 GB, free: 46.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.2753, allocations: 21.3 kB / 0.6645 GB, free: 46.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007119/0.276, allocations: 468.1 kB / 0.6649 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.276, allocations: 3.062 kB / 0.6649 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.276, allocations: 2.812 kB / 0.6649 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.276, allocations: 3.234 kB / 0.6649 GB, free: 45.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2772, allocations: 0.899 MB / 0.6658 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2772, allocations: 3.031 kB / 0.6658 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.2774, allocations: 40.23 kB / 0.6658 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.2777, allocations: 139.5 kB / 0.666 GB, free: 45.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.2777, allocations: 2.938 kB / 0.666 GB, free: 45.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.2795, allocations: 3.906 MB / 0.6698 GB, free: 41.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2795, allocations: 6.906 kB / 0.6698 GB, free: 41.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.2801, allocations: 0.6067 MB / 0.6704 GB, free: 41.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.2802, allocations: 52.47 kB / 0.6704 GB, free: 41.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.2803, allocations: 11.66 kB / 0.6704 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.2805, allocations: 17.8 kB / 0.6705 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2805, allocations: 22.47 kB / 0.6705 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2805, allocations: 12.66 kB / 0.6705 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.2806, allocations: 156 kB / 0.6706 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2806, allocations: 4 kB / 0.6706 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000473/0.2811, allocations: 97.22 kB / 0.6707 GB, free: 41.03 MB / 0.5606 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.000184/0.2813, allocations: 141.8 kB / 0.6709 GB, free: 40.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007555/0.2821, allocations: 0.5617 MB / 0.6714 GB, free: 40.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2821, allocations: 2.969 kB / 0.6714 GB, free: 40.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.2825, allocations: 397.4 kB / 0.6718 GB, free: 40.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.283, allocations: 48.33 kB / 0.6719 GB, free: 40.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.2838, allocations: 0.6158 MB / 0.6725 GB, free: 39.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2839, allocations: 179 kB / 0.6726 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000136/0.284, allocations: 55.06 kB / 0.6727 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.2841, allocations: 24.77 kB / 0.6727 GB, free: 39.81 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2841, allocations: 0 / 0.6727 GB, free: 39.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.008128/0.2922, allocations: 4.159 MB / 0.6768 GB, free: 39.44 MB / 0.5606 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.04153859987855] Failed to read output from testmodel.py, exit status != 0: 0.2997188977897167 0.31061996199999997 0.044755665 Calling exit ...