Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.742/2.742, allocations: 287.3 MB / 302.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 182.8 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.384/2.384, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 96.97 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006535/0.0006538, allocations: 16.83 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3047, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004161/0.3089, allocations: 2.628 MB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003974/0.3129, allocations: 1.558 MB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.3136, allocations: 11.94 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.315, allocations: 278.8 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007455/0.3158, allocations: 175.5 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3171, allocations: 290.3 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.3182, allocations: 484.4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.3189, allocations: 382.4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.3193, allocations: 215.1 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.3196, allocations: 218.9 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.286e-05/0.3197, allocations: 20 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.32, allocations: 63.95 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3202, allocations: 151.4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3203, allocations: 133.3 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.321, allocations: 0.5494 MB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3211, allocations: 4 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3211, allocations: 0 / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3211, allocations: 0 / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001631/0.3227, allocations: 0.8827 MB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3228, allocations: 12.02 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.3229, allocations: 98.5 kB / 0.9862 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3231, allocations: 86.92 kB / 0.9863 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.3239, allocations: 483.5 kB / 0.9867 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.324, allocations: 70.7 kB / 0.9868 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.3242, allocations: 56 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.3253, allocations: 0.604 MB / 0.9875 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3254, allocations: 7.875 kB / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.3255, allocations: 27.98 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3255, allocations: 16 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.3264, allocations: 371.6 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.3295, allocations: 2.655 MB / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.3302, allocations: 267.8 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.3302, allocations: 8.281 kB / 0.9907 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000525/0.3308, allocations: 214.9 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 2.796e-06/0.3308, allocations: 0 / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001167/0.332, allocations: 440.5 kB / 0.9913 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.332, allocations: 89.05 kB / 0.9914 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.3329, allocations: 0.6168 MB / 0.992 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.333, allocations: 49.7 kB / 0.9921 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3333, allocations: 356.4 kB / 0.9924 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.645e-05/0.3334, allocations: 102.7 kB / 0.9925 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.3334, allocations: 12 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3336, allocations: 374.8 kB / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.3339, allocations: 133.2 kB / 0.993 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.3344, allocations: 331.6 kB / 0.9933 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.3348, allocations: 140.8 kB / 0.9935 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.3348, allocations: 0 / 0.9935 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001151/0.336, allocations: 0.5186 MB / 0.994 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.336, allocations: 8 kB / 0.994 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3361, allocations: 4 kB / 0.994 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.3361, allocations: 12 kB / 0.994 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.3365, allocations: 71.83 kB / 0.9941 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.3365, allocations: 11.94 kB / 0.9941 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.3369, allocations: 51.84 kB / 0.9941 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.337, allocations: 39.98 kB / 0.9942 GB, free: 11.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition2,$whenCondition3,$whenCondition4,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004241/0.3374, allocations: 254.8 kB / 0.9944 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3375, allocations: 75.11 kB / 0.9945 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.3385, allocations: 399.3 kB / 0.9949 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3385, allocations: 4 kB / 0.9949 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3386, allocations: 4 kB / 0.9949 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3386, allocations: 3.984 kB / 0.9949 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.3405, allocations: 1.052 MB / 0.9959 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3405, allocations: 0 / 0.9959 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.3407, allocations: 31.86 kB / 0.9959 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.3407, allocations: 4 kB / 0.9959 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.3408, allocations: 15.98 kB / 0.9959 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3408, allocations: 0 / 0.9959 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3408, allocations: 0 / 0.9959 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.3416, allocations: 474.9 kB / 0.9964 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.3418, allocations: 136.3 kB / 0.9965 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3419, allocations: 11.94 kB / 0.9965 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.3422, allocations: 19.98 kB / 0.9966 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.3423, allocations: 47.92 kB / 0.9966 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/0.3424, allocations: 16 kB / 0.9966 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006137/0.3431, allocations: 403 kB / 0.997 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3431, allocations: 0 / 0.997 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007865/0.3439, allocations: 135.6 kB / 0.9971 GB, free: 8.379 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.3462, allocations: 1.35 MB / 0.9984 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.3473, allocations: 384.3 kB / 0.9988 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3473, allocations: 0 / 0.9988 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.3477, allocations: 179.7 kB / 0.999 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006844/0.3484, allocations: 74.91 kB / 0.9991 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007757/0.3562, allocations: 7.18 MB / 1.006 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.357, allocations: 0.9377 MB / 1.007 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000483/0.3575, allocations: 84.33 kB / 1.007 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004946/0.358, allocations: 243.3 kB / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.358, allocations: 0 / 1.007 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04591/0.4039, allocations: 11.39 MB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.4043, allocations: 233.5 kB / 1.019 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/3.528, allocations: 0 / 1.019 GB, free: 2.469 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)