Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001801/0.001801, allocations: 80.28 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.00252/0.00252, allocations: 162.9 kB / 22.46 MB, free: 5.355 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.445/1.445, 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.003995/0.003995, allocations: 247.7 kB / 259.4 MB, free: 468 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.1/1.1, allocations: 138.4 MB / 454.3 MB, free: 1.98 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.554e-05, allocations: 10.28 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003366/0.003392, allocations: 2.032 MB / 0.6488 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.005369, allocations: 1.01 MB / 0.6498 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.005535, allocations: 11.94 kB / 0.6498 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.998e-05/0.005615, allocations: 23.67 kB / 0.6498 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.005992, allocations: 87.2 kB / 0.6499 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.006518, allocations: 199.4 kB / 0.6501 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.006914, allocations: 306.7 kB / 0.6504 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.007069, allocations: 44.92 kB / 0.6504 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.007323, allocations: 159.5 kB / 0.6506 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.007553, allocations: 107.7 kB / 0.6507 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.007599, allocations: 20 kB / 0.6507 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004505/0.008049, allocations: 283.6 kB / 0.651 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.008102, allocations: 47.77 kB / 0.651 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.008214, allocations: 83.75 kB / 0.6511 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.00874, allocations: 358.8 kB / 0.6514 GB, free: 244 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.008745, allocations: 0 / 0.6514 GB, free: 244 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008746, allocations: 0 / 0.6514 GB, free: 244 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.008754, allocations: 0 / 0.6514 GB, free: 244 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.2506/0.2594, allocations: 0.5515 MB / 0.652 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2594, allocations: 11.75 kB / 0.652 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.2597, allocations: 42.06 kB / 0.652 GB, free: 57.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.2601, allocations: 224.2 kB / 0.6522 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2601, allocations: 12.41 kB / 0.6522 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.2601, allocations: 16.91 kB / 0.6523 GB, free: 57.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.2607, allocations: 230.3 kB / 0.6525 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2607, allocations: 4.031 kB / 0.6525 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2607, allocations: 9.062 kB / 0.6525 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2607, allocations: 3.469 kB / 0.6525 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.2614, allocations: 199 kB / 0.6527 GB, free: 57.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.2623, allocations: 0.84 MB / 0.6535 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007388/0.263, allocations: 229 kB / 0.6537 GB, free: 56.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.2633, allocations: 106.2 kB / 0.6538 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2634, allocations: 6.625 kB / 0.6538 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.2634, allocations: 31.12 kB / 0.6539 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2634, allocations: 3.938 kB / 0.6539 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001135/0.2645, allocations: 340.4 kB / 0.6542 GB, free: 56.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.2646, allocations: 87.17 kB / 0.6543 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2647, allocations: 260.3 kB / 0.6545 GB, free: 55.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2648, allocations: 30.45 kB / 0.6546 GB, free: 55.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.2648, allocations: 166.1 kB / 0.6547 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.2649, allocations: 58.42 kB / 0.6548 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.2649, allocations: 39.36 kB / 0.6548 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.265, allocations: 340.1 kB / 0.6551 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.2653, allocations: 88.12 kB / 0.6552 GB, free: 55.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.2656, allocations: 147 kB / 0.6554 GB, free: 55.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.2662, allocations: 240.3 kB / 0.6556 GB, free: 55.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2662, allocations: 0 / 0.6556 GB, free: 55.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007728/0.267, allocations: 298.1 kB / 0.6559 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.267, allocations: 3.219 kB / 0.6559 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.267, allocations: 3.375 kB / 0.6559 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.267, allocations: 3.188 kB / 0.6559 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.2673, allocations: 62.53 kB / 0.6559 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.2673, allocations: 14.5 kB / 0.6559 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.2675, allocations: 33.47 kB / 0.656 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.2675, allocations: 13.41 kB / 0.656 GB, free: 55.11 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 8.209e-05/0.2676, allocations: 129.2 kB / 0.6561 GB, free: 54.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2677, allocations: 29.27 kB / 0.6561 GB, free: 54.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007745/0.2685, allocations: 286 kB / 0.6564 GB, free: 54.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2685, allocations: 2.875 kB / 0.6564 GB, free: 54.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2685, allocations: 3.938 kB / 0.6564 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2685, allocations: 11.55 kB / 0.6564 GB, free: 54.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2688, allocations: 201.8 kB / 0.6566 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2688, allocations: 5.359 kB / 0.6566 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.269, allocations: 54.66 kB / 0.6567 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.269, allocations: 5.969 kB / 0.6567 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.269, allocations: 4 kB / 0.6567 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.269, allocations: 3.312 kB / 0.6567 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.269, allocations: 0 / 0.6567 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.2698, allocations: 449.6 kB / 0.6571 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.2698, allocations: 29.7 kB / 0.6572 GB, free: 54.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.2699, allocations: 4 kB / 0.6572 GB, free: 54.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2701, allocations: 26.42 kB / 0.6572 GB, free: 54.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2702, allocations: 25.12 kB / 0.6572 GB, free: 54.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2702, allocations: 7.312 kB / 0.6572 GB, free: 54.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001234/0.2703, allocations: 185.3 kB / 0.6574 GB, free: 54.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2703, allocations: 0 / 0.6574 GB, free: 54.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000354/0.2707, allocations: 57.41 kB / 0.6574 GB, free: 54.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001615/0.2709, allocations: 111.9 kB / 0.6576 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007025/0.2716, allocations: 231.8 kB / 0.6578 GB, free: 54.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2716, allocations: 0 / 0.6578 GB, free: 54.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.2719, allocations: 111.2 kB / 0.6579 GB, free: 54.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.2724, allocations: 77.39 kB / 0.658 GB, free: 54.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006157/0.273, allocations: 447.4 kB / 0.6584 GB, free: 53.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.2731, allocations: 141.3 kB / 0.6585 GB, free: 53.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.2732, allocations: 27.86 kB / 0.6585 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.2733, allocations: 23.41 kB / 0.6586 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.2733, allocations: 0 / 0.6586 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.007054/0.2804, allocations: 4.238 MB / 0.6627 GB, free: 53.31 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.016846809536219] Failed to read output from testmodel.py, exit status != 0: 0.2880336754024029 0.29777689300000004 0.286470938 Calling exit ...