Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008515/0.0008517, allocations: 19.31 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3056, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003597/0.3093, allocations: 2.072 MB / 0.7894 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3106, allocations: 0.5087 MB / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.3109, allocations: 4 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.3114, allocations: 111.3 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.3117, allocations: 83.41 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.3119, allocations: 31.97 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.3123, allocations: 226.8 kB / 0.7904 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.3126, allocations: 81.28 kB / 0.7904 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3128, allocations: 75.72 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.313, allocations: 91.5 kB / 0.7906 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.3131, allocations: 8 kB / 0.7906 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.3131, allocations: 8 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.3132, allocations: 71.75 kB / 0.7907 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3133, allocations: 81.52 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.3136, allocations: 247.3 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3137, allocations: 0 / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3137, allocations: 0 / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3137, allocations: 0 / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009984/0.3147, allocations: 0.5989 MB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.3148, allocations: 12.03 kB / 0.7916 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.787e-05/0.3148, allocations: 50.55 kB / 0.7916 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.356e-05/0.3149, allocations: 43.44 kB / 0.7917 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.3154, allocations: 293.2 kB / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3154, allocations: 12 kB / 0.792 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.3155, allocations: 16 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.3158, allocations: 137.1 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3158, allocations: 0 / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3159, allocations: 8 kB / 0.7921 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3159, allocations: 4 kB / 0.7921 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.3161, allocations: 87.95 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3172, allocations: 0.59 MB / 0.7928 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.3175, allocations: 98.53 kB / 0.7929 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3176, allocations: 44.84 kB / 0.7929 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3176, allocations: 0 / 0.7929 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3177, allocations: 38.5 kB / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3177, allocations: 0 / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003938/0.3181, allocations: 145.1 kB / 0.7931 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3181, allocations: 59.36 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.3186, allocations: 382 kB / 0.7935 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3186, allocations: 33.7 kB / 0.7936 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.3188, allocations: 212 kB / 0.7938 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3189, allocations: 31.55 kB / 0.7938 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.3189, allocations: 4 kB / 0.7938 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.319, allocations: 350.7 kB / 0.7941 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.3191, allocations: 27.98 kB / 0.7942 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.3192, allocations: 55.42 kB / 0.7942 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.251e-05/0.3193, allocations: 32 kB / 0.7942 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3193, allocations: 0 / 0.7942 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002628/0.3196, allocations: 149.1 kB / 0.7944 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3196, allocations: 4 kB / 0.7944 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3196, allocations: 4 kB / 0.7944 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3197, allocations: 3.984 kB / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3198, allocations: 23.98 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3198, allocations: 7.938 kB / 0.7944 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3199, allocations: 23.78 kB / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3199, allocations: 8.469 kB / 0.7945 GB, free: 4.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001756/0.3201, allocations: 161.9 kB / 0.7946 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.3202, allocations: 31.62 kB / 0.7946 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.3202, allocations: 43.2 kB / 0.7947 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3203, allocations: 0 / 0.7947 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3203, allocations: 3.938 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3203, allocations: 0 / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.3206, allocations: 313.4 kB / 0.795 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3207, allocations: 0 / 0.795 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.3208, allocations: 19.98 kB / 0.795 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.3208, allocations: 3.938 kB / 0.795 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3208, allocations: 12 kB / 0.795 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3208, allocations: 3.938 kB / 0.795 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3208, allocations: 0 / 0.795 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.3212, allocations: 243 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/0.3213, allocations: 116.7 kB / 0.7954 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.3213, allocations: 4 kB / 0.7954 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3215, allocations: 8.047 kB / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.3215, allocations: 4 kB / 0.7954 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3215, allocations: 4 kB / 0.7954 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002904/0.3218, allocations: 279.1 kB / 0.7956 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3218, allocations: 0 / 0.7956 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003082/0.3221, allocations: 43.84 kB / 0.7957 GB, free: 2.953 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0006945/0.3228, allocations: 0.7901 MB / 0.7965 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.3231, allocations: 79.97 kB / 0.7965 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3231, allocations: 0 / 0.7965 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.3232, allocations: 35.98 kB / 0.7966 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3235, allocations: 20.06 kB / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.3263, allocations: 1.884 MB / 0.7984 GB, free: 56 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.3267, allocations: 0.8022 MB / 0.7992 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.242e-05/0.3268, allocations: 16.64 kB / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3269, allocations: 95.41 kB / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.327, allocations: 0 / 0.7993 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.3448, allocations: 4.827 MB / 0.804 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.345, allocations: 198 kB / 0.8042 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.227, allocations: 3.938 kB / 0.8042 GB, free: 10.24 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) Environment - environmentSimulation: