Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.0009341/0.0009341, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0008852/0.0008852, allocations: 168.8 kB / 25.17 MB, free: 8.324 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.9315/0.9315, allocations: 177.2 MB / 205.6 MB, free: 4.012 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.891/1.891, allocations: 389.6 MB / 0.6364 GB, free: 13.25 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.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168e-05/1.32e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.006361/0.006374, allocations: 8.218 MB / 0.7836 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.009926, allocations: 3.58 MB / 0.7871 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.01018, allocations: 35.69 kB / 0.7871 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.01059, allocations: 214.4 kB / 0.7873 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008774/0.01147, allocations: 0.7457 MB / 0.7881 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.01252, allocations: 0.8801 MB / 0.7889 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.01379, allocations: 1.707 MB / 0.7906 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.01444, allocations: 469 kB / 0.791 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.01518, allocations: 0.8522 MB / 0.7919 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.01554, allocations: 414.7 kB / 0.7923 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 5.254e-05/0.01559, allocations: 40 kB / 0.7923 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.0164, allocations: 0.8225 MB / 0.7931 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.01651, allocations: 159.3 kB / 0.7933 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.01667, allocations: 211.5 kB / 0.7935 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.01753, allocations: 0.993 MB / 0.7944 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01754, allocations: 4 kB / 0.7944 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.41e-07/0.01754, allocations: 3.938 kB / 0.7944 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01754, allocations: 0 / 0.7944 GB, free: 11.12 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008536/0.0184, allocations: 0.9359 MB / 0.7954 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.534e-05/0.01842, allocations: 8.031 kB / 0.7954 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.01877, allocations: 172.6 kB / 0.7955 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.01922, allocations: 444.2 kB / 0.796 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.01924, allocations: 33.12 kB / 0.796 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.01929, allocations: 43.94 kB / 0.796 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.01968, allocations: 488 kB / 0.7965 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01969, allocations: 0 / 0.7965 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.01972, allocations: 16 kB / 0.7965 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.01974, allocations: 16 kB / 0.7965 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.01991, allocations: 161.3 kB / 0.7967 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.02102, allocations: 1.083 MB / 0.7977 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.0213, allocations: 235.3 kB / 0.798 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.02138, allocations: 105.5 kB / 0.7981 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.589e-05/0.02145, allocations: 28.16 kB / 0.7981 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.02169, allocations: 321.8 kB / 0.7984 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.694e-06/0.02169, allocations: 0 / 0.7984 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.0005716/0.02227, allocations: 410.3 kB / 0.7988 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.0223, allocations: 93.03 kB / 0.7989 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.02253, allocations: 412.9 kB / 0.7993 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.02255, allocations: 33.7 kB / 0.7993 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.02265, allocations: 233.8 kB / 0.7995 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.0227, allocations: 107 kB / 0.7996 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.02278, allocations: 77.59 kB / 0.7997 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.02293, allocations: 370.7 kB / 0.8 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.02301, allocations: 81.38 kB / 0.8001 GB, free: 4.973 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.02316, allocations: 346.9 kB / 0.8005 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.02334, allocations: 238.7 kB / 0.8007 GB, free: 4.281 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.02334, allocations: 4 kB / 0.8007 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003291/0.02367, allocations: 332.2 kB / 0.801 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.0237, allocations: 37.7 kB / 0.801 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.0237, allocations: 4.188 kB / 0.801 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/0.02404, allocations: 92.7 kB / 0.8011 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.0242, allocations: 71.89 kB / 0.8012 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002433/0.02445, allocations: 0.5484 MB / 0.8017 GB, free: 3.145 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.0246, allocations: 43.77 kB / 0.8018 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.02462, allocations: 12 kB / 0.8018 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001384/0.02476, allocations: 171.5 kB / 0.802 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001459/0.0249, allocations: 351.1 kB / 0.8023 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001687/0.02507, allocations: 235.9 kB / 0.8025 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.02507, allocations: 0 / 0.8025 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0002711/0.02534, allocations: 312.1 kB / 0.8028 GB, free: 1.891 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.02537, allocations: 45.12 kB / 0.8029 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.02537, allocations: 4 kB / 0.8029 GB, free: 1.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-05/0.02546, allocations: 41.02 kB / 0.8029 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.02561, allocations: 67.89 kB / 0.803 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008271/0.02643, allocations: 1.446 MB / 0.8044 GB, free: 204 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.02658, allocations: 35.92 kB / 0.8044 GB, free: 168 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.0266, allocations: 23.91 kB / 0.8044 GB, free: 144 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.3259/0.3525, allocations: 234.1 kB / 0.8047 GB, free: 28.86 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3526, allocations: 44 kB / 0.8047 GB, free: 28.86 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004903/0.3531, allocations: 344 kB / 0.805 GB, free: 28.75 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3531, allocations: 6 kB / 0.805 GB, free: 28.75 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3531, allocations: 2.328 kB / 0.805 GB, free: 28.75 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002597/0.3534, allocations: 0.4947 MB / 0.8055 GB, free: 28.33 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.3541, allocations: 0.7646 MB / 0.8063 GB, free: 27.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3541, allocations: 2.359 kB / 0.8063 GB, free: 27.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3543, allocations: 59.55 kB / 0.8063 GB, free: 27.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.3544, allocations: 43.28 kB / 0.8064 GB, free: 27.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.3545, allocations: 11.94 kB / 0.8064 GB, free: 27.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001387/0.3546, allocations: 0.5442 MB / 0.8069 GB, free: 27.44 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3546, allocations: 3.203 kB / 0.8069 GB, free: 27.44 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.355, allocations: 0.5749 MB / 0.8075 GB, free: 27.12 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3552, allocations: 79.08 kB / 0.8075 GB, free: 27.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.3552, allocations: 9.516 kB / 0.8076 GB, free: 27.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.3554, allocations: 27.3 kB / 0.8076 GB, free: 27.12 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.3554, allocations: 22.91 kB / 0.8076 GB, free: 27.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.3555, allocations: 19.42 kB / 0.8076 GB, free: 27.12 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001555/0.3556, allocations: 188.1 kB / 0.8078 GB, free: 27.09 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.3556, allocations: 0 / 0.8078 GB, free: 27.09 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006204/0.3563, allocations: 333.3 kB / 0.8081 GB, free: 27.09 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003209/0.3566, allocations: 218.3 kB / 0.8083 GB, free: 27.03 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006525/0.3572, allocations: 0.6472 MB / 0.809 GB, free: 26.67 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.3572, allocations: 6.031 kB / 0.809 GB, free: 26.67 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.3574, allocations: 211.1 kB / 0.8092 GB, free: 26.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.3579, allocations: 206 kB / 0.8094 GB, free: 26.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3593, allocations: 1.013 MB / 0.8104 GB, free: 26.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3595, allocations: 268.6 kB / 0.8106 GB, free: 25.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.3599, allocations: 231 kB / 0.8108 GB, free: 25.91 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.3599, allocations: 0 / 0.8108 GB, free: 25.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.01217/0.3721, allocations: 10.79 MB / 0.8214 GB, free: 25.22 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation > Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.19536214042455]