Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.000973/0.000973, allocations: 83.69 kB / 21.74 MB, free: 2.508 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.001046/0.001046, allocations: 172.8 kB / 25.18 MB, free: 8.848 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.8649/0.8649, allocations: 177.2 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.911/1.911, allocations: 389.6 MB / 0.6364 GB, free: 13.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.657e-05, allocations: 13.56 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003183/0.0032, allocations: 2.534 MB / 0.7781 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.005238, allocations: 1.7 MB / 0.7797 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.005379, allocations: 0 / 0.7797 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.006074, allocations: 330.5 kB / 0.78 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003882/0.006462, allocations: 274.7 kB / 0.7803 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.006843, allocations: 203.4 kB / 0.7805 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.007192, allocations: 418.5 kB / 0.7809 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.007297, allocations: 38.89 kB / 0.7809 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.007855, allocations: 262.2 kB / 0.7812 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.008018, allocations: 143.5 kB / 0.7813 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.00806, allocations: 16 kB / 0.7813 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.008269, allocations: 91.81 kB / 0.7814 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.008373, allocations: 135.5 kB / 0.7815 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.008454, allocations: 95.59 kB / 0.7816 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.008864, allocations: 358.5 kB / 0.782 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.008867, allocations: 0 / 0.782 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.008867, allocations: 0 / 0.782 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.008875, allocations: 0 / 0.782 GB, free: 7.961 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006445/0.009519, allocations: 0.7525 MB / 0.7827 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.009549, allocations: 8.031 kB / 0.7827 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.009611, allocations: 40.89 kB / 0.7828 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.009925, allocations: 359.1 kB / 0.7831 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.009941, allocations: 8.562 kB / 0.7831 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.009958, allocations: 12.38 kB / 0.7831 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.01008, allocations: 118.3 kB / 0.7832 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.01009, allocations: 4 kB / 0.7832 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.0101, allocations: 4 kB / 0.7832 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.0101, allocations: 0 / 0.7832 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.01014, allocations: 31.97 kB / 0.7833 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.01056, allocations: 297.7 kB / 0.7836 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.01068, allocations: 121.2 kB / 0.7837 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.01071, allocations: 20.84 kB / 0.7837 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.01072, allocations: 0 / 0.7837 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.01083, allocations: 119.9 kB / 0.7838 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.01083, allocations: 0 / 0.7838 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0001504/0.01098, allocations: 113.6 kB / 0.7839 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.01101, allocations: 59.41 kB / 0.784 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.01138, allocations: 0.568 MB / 0.7845 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.0114, allocations: 29.7 kB / 0.7846 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.01147, allocations: 166.4 kB / 0.7847 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.0115, allocations: 39.67 kB / 0.7847 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/0.01156, allocations: 57.66 kB / 0.7848 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.01166, allocations: 382.6 kB / 0.7852 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.01169, allocations: 22.83 kB / 0.7852 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.458e-05/0.01175, allocations: 115.7 kB / 0.7853 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.01183, allocations: 91.84 kB / 0.7854 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01183, allocations: 0 / 0.7854 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001322/0.01197, allocations: 140.3 kB / 0.7855 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.01198, allocations: 4 kB / 0.7855 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.01198, allocations: 0 / 0.7855 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.01199, allocations: 8.094 kB / 0.7855 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.01208, allocations: 39.91 kB / 0.7856 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.01208, allocations: 0 / 0.7856 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.01215, allocations: 19.89 kB / 0.7856 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01216, allocations: 7.984 kB / 0.7856 GB, free: 4.02 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.134e-05/0.01225, allocations: 138.5 kB / 0.7857 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01228, allocations: 35.95 kB / 0.7858 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.01241, allocations: 122.9 kB / 0.7859 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01242, allocations: 4 kB / 0.7859 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01242, allocations: 4 kB / 0.7859 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01242, allocations: 0 / 0.7859 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.01264, allocations: 193.6 kB / 0.7861 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.01264, allocations: 0 / 0.7861 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.01267, allocations: 12 kB / 0.7861 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.01267, allocations: 7.938 kB / 0.7861 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.01268, allocations: 3.984 kB / 0.7861 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01268, allocations: 3.938 kB / 0.7861 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01268, allocations: 0 / 0.7861 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.01279, allocations: 133.4 kB / 0.7862 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.01283, allocations: 63.45 kB / 0.7863 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.01286, allocations: 11.98 kB / 0.7863 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.01291, allocations: 4 kB / 0.7863 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.01295, allocations: 19.97 kB / 0.7863 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.01296, allocations: 3.984 kB / 0.7863 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001829/0.01314, allocations: 275.4 kB / 0.7866 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01314, allocations: 0 / 0.7866 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001709/0.01331, allocations: 59.94 kB / 0.7866 GB, free: 2.887 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001014/0.01432, allocations: 0.5383 MB / 0.7872 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01446, allocations: 88.73 kB / 0.7873 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.01447, allocations: 4 kB / 0.7873 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.01452, allocations: 40.3 kB / 0.7873 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.01474, allocations: 102.6 kB / 0.7874 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.01562, allocations: 0.795 MB / 0.7882 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.01578, allocations: 266.7 kB / 0.7884 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.01592, allocations: 111.3 kB / 0.7885 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01592, allocations: 4 kB / 0.7885 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.005689/0.02161, allocations: 6.059 MB / 0.7945 GB, free: 11.06 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.942375208251178]