Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",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.792/2.792, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001492/0.001492, allocations: 188.4 kB / 370.8 MB, free: 10.88 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.305/2.305, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001821/0.00182, allocations: 96.89 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004978, allocations: 13.78 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2647, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.006433/0.2712, allocations: 2.675 MB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005132/0.2764, allocations: 1.597 MB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007091/0.2772, allocations: 11.94 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.279, allocations: 266.8 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.2802, allocations: 167.5 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.282, allocations: 295.2 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.2841, allocations: 0.5004 MB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.2861, allocations: 438.4 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.2871, allocations: 235 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.2876, allocations: 238.7 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.2877, allocations: 24 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.288, allocations: 67.91 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.2882, allocations: 151.4 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.2884, allocations: 149.2 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000817/0.2892, allocations: 0.6079 MB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2892, allocations: 0 / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2892, allocations: 0 / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.2893, allocations: 0 / 0.9855 GB, free: 20.89 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001986/0.2913, allocations: 0.9619 MB / 0.9864 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.2913, allocations: 12.02 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.2915, allocations: 106.4 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.2917, allocations: 98.83 kB / 0.9866 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2928, allocations: 0.4958 MB / 0.9871 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2929, allocations: 79.02 kB / 0.9872 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2931, allocations: 60 kB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.2945, allocations: 0.6481 MB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.2946, allocations: 7.953 kB / 0.9879 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.2947, allocations: 24 kB / 0.9879 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2947, allocations: 20 kB / 0.9879 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2959, allocations: 407.5 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/0.2995, allocations: 2.701 MB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.3004, allocations: 261.1 kB / 0.9912 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3005, allocations: 8 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/0.301, allocations: 191.4 kB / 0.9914 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 3.567e-06/0.301, allocations: 0 / 0.9914 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001303/0.3023, allocations: 421.1 kB / 0.9918 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.3024, allocations: 93.05 kB / 0.9919 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/0.3034, allocations: 0.6599 MB / 0.9925 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.441e-05/0.3035, allocations: 45.7 kB / 0.9926 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.3039, allocations: 396.1 kB / 0.993 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.304, allocations: 98.83 kB / 0.9931 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.304, allocations: 8 kB / 0.9931 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3042, allocations: 390.7 kB / 0.9934 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.3046, allocations: 141.2 kB / 0.9936 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/0.3052, allocations: 357 kB / 0.9939 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.3056, allocations: 147.9 kB / 0.994 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3057, allocations: 4 kB / 0.9941 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001394/0.3071, allocations: 0.5436 MB / 0.9946 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.3071, allocations: 4 kB / 0.9946 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3072, allocations: 12.03 kB / 0.9946 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.3072, allocations: 12 kB / 0.9946 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.3076, allocations: 75.77 kB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.3077, allocations: 16.03 kB / 0.9947 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.3082, allocations: 63.42 kB / 0.9948 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.3083, allocations: 31.98 kB / 0.9948 GB, free: 10.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,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.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0005044/0.3088, allocations: 278.8 kB / 0.9951 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3089, allocations: 63.16 kB / 0.9951 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.31, allocations: 392.1 kB / 0.9955 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.31, allocations: 4 kB / 0.9955 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.31, allocations: 0 / 0.9955 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3101, allocations: 11.83 kB / 0.9955 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.312, allocations: 0.9985 MB / 0.9965 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3121, allocations: 0 / 0.9965 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.3123, allocations: 23.92 kB / 0.9965 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.3123, allocations: 4 kB / 0.9965 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.3124, allocations: 15.94 kB / 0.9965 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.3124, allocations: 4 kB / 0.9965 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3124, allocations: 3.938 kB / 0.9965 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.3133, allocations: 454.8 kB / 0.997 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.3135, allocations: 144.1 kB / 0.9971 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3136, allocations: 11.98 kB / 0.9971 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.3139, allocations: 19.95 kB / 0.9971 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.3141, allocations: 51.91 kB / 0.9972 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.3142, allocations: 23.98 kB / 0.9972 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006373/0.3148, allocations: 423 kB / 0.9976 GB, free: 7.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3149, allocations: 4 kB / 0.9976 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007735/0.3156, allocations: 135.6 kB / 0.9977 GB, free: 7.773 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,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.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002372/0.318, allocations: 1.327 MB / 0.999 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.3192, allocations: 389.5 kB / 0.9994 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3192, allocations: 0 / 0.9994 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.3197, allocations: 159.8 kB / 0.9996 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.3205, allocations: 92.33 kB / 0.9996 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008618/0.3291, allocations: 7.572 MB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/0.3301, allocations: 0.9691 MB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000556/0.3306, allocations: 84.67 kB / 1.008 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/0.3312, allocations: 263.3 kB / 1.008 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of SimCode: time 1.092e-06/0.3312, allocations: 0 / 1.008 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06454/0.3958, allocations: 12.16 MB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004556/0.3964, allocations: 231.9 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/3.544, allocations: 0 / 1.02 GB, free: 0.6641 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)