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.86/2.86, allocations: 287.5 MB / 302.4 MB, free: 8.406 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.00136/0.00136, allocations: 179.1 kB / 371 MB, free: 10.87 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.192/2.192, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009173/0.0009172, allocations: 81.67 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 16.55 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay): time 0.004054/0.2356, allocations: 2.655 MB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003373/0.239, allocations: 1.593 MB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/0.2396, allocations: 11.94 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2407, allocations: 282.7 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005468/0.2413, allocations: 151.3 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2424, allocations: 284.8 kB / 0.9833 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008552/0.2433, allocations: 0.6675 MB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005629/0.2439, allocations: 382.3 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.2442, allocations: 211.1 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.2445, allocations: 238.8 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.673e-05/0.2446, allocations: 20 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2449, allocations: 67.97 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2451, allocations: 151.4 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.2452, allocations: 141.3 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.2459, allocations: 0.5417 MB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2459, allocations: 0 / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2459, allocations: 3.938 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2459, allocations: 0 / 0.9856 GB, free: 20.86 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.001517/0.2475, allocations: 0.8866 MB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.2475, allocations: 12.02 kB / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.2477, allocations: 94.52 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.2478, allocations: 86.92 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.2486, allocations: 475.6 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.134e-05/0.2487, allocations: 74.7 kB / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2489, allocations: 55.98 kB / 0.9873 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2501, allocations: 0.6138 MB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2501, allocations: 3.938 kB / 0.9879 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.2502, allocations: 24 kB / 0.9879 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2502, allocations: 12 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/0.2511, allocations: 375.5 kB / 0.9883 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.2542, allocations: 2.647 MB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006985/0.2549, allocations: 275.8 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.2553, allocations: 141.3 kB / 0.9913 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.2553, allocations: 4.281 kB / 0.9913 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000494/0.2558, allocations: 222.9 kB / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 3.978e-06/0.2559, allocations: 0 / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.00117/0.257, allocations: 440.5 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2571, allocations: 97.03 kB / 0.992 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.258, allocations: 0.6129 MB / 0.9926 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.072e-05/0.2581, allocations: 45.7 kB / 0.9926 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.2584, allocations: 360.4 kB / 0.993 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2585, allocations: 102.7 kB / 0.9931 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.2586, allocations: 12 kB / 0.9931 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2587, allocations: 374.8 kB / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.2591, allocations: 133.2 kB / 0.9936 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.2596, allocations: 327.6 kB / 0.9939 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.26, allocations: 144.8 kB / 0.994 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.26, allocations: 0 / 0.994 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001166/0.2612, allocations: 0.515 MB / 0.9945 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2612, allocations: 8 kB / 0.9945 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.2612, allocations: 8 kB / 0.9945 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.2613, allocations: 8 kB / 0.9945 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.2617, allocations: 71.84 kB / 0.9946 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.2617, allocations: 15.92 kB / 0.9946 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.2621, allocations: 59.53 kB / 0.9947 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.2622, allocations: 27.98 kB / 0.9947 GB, free: 11.12 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.0004374/0.2626, allocations: 264.2 kB / 0.995 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2628, allocations: 67.11 kB / 0.995 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009701/0.2637, allocations: 399.4 kB / 0.9954 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2638, allocations: 4 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2638, allocations: 0 / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2638, allocations: 7.984 kB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.2667, allocations: 1.056 MB / 0.9964 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2667, allocations: 0 / 0.9964 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2669, allocations: 27.92 kB / 0.9965 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.267, allocations: 0 / 0.9965 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-05/0.267, allocations: 11.98 kB / 0.9965 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.267, allocations: 4 kB / 0.9965 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.267, allocations: 0 / 0.9965 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008376/0.2679, allocations: 478.8 kB / 0.9969 GB, free: 8.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.268, allocations: 140.3 kB / 0.9971 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2681, allocations: 12 kB / 0.9971 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2684, allocations: 19.98 kB / 0.9971 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.2686, allocations: 51.8 kB / 0.9972 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.2686, allocations: 12 kB / 0.9972 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00058/0.2692, allocations: 407 kB / 0.9976 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2692, allocations: 0 / 0.9976 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000728/0.2699, allocations: 135.6 kB / 0.9977 GB, free: 7.949 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.002242/0.2722, allocations: 1.334 MB / 0.999 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.2733, allocations: 376.1 kB / 0.9993 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2733, allocations: 0 / 0.9993 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.2737, allocations: 180 kB / 0.9995 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.2746, allocations: 90.89 kB / 0.9996 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/0.2812, allocations: 3.485 MB / 1.003 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.2818, allocations: 0.9299 MB / 1.004 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004404/0.2822, allocations: 76.31 kB / 1.004 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.2827, allocations: 247.3 kB / 1.004 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2827, allocations: 0 / 1.004 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06018/0.3429, allocations: 11.42 MB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/0.3433, allocations: 243.9 kB / 1.016 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.164/3.507, allocations: 0 / 1.016 GB, free: 5.75 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)