Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.001153/0.001154, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 199.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.676/1.676, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001453/0.001453, allocations: 67.41 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2327, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004124/0.2369, allocations: 2.764 MB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.2387, allocations: 1.094 MB / 0.7874 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2389, allocations: 8 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.2395, allocations: 219 kB / 0.7876 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.2397, allocations: 91.19 kB / 0.7877 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.2401, allocations: 183.7 kB / 0.7879 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.2405, allocations: 419.7 kB / 0.7883 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.2409, allocations: 221.8 kB / 0.7885 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.241, allocations: 151.3 kB / 0.7886 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2412, allocations: 190.9 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.266e-05/0.2413, allocations: 40 kB / 0.7889 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.2416, allocations: 179.8 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.2418, allocations: 251.2 kB / 0.7893 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.242, allocations: 365.5 kB / 0.7896 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008418/0.2429, allocations: 0.9767 MB / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2429, allocations: 0 / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2429, allocations: 0 / 0.7906 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2429, allocations: 0 / 0.7906 GB, free: 6.113 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001423/0.2444, allocations: 1.146 MB / 0.7917 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2444, allocations: 8.031 kB / 0.7917 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.646e-05/0.2445, allocations: 66.72 kB / 0.7918 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.2457, allocations: 239.5 kB / 0.792 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.247, allocations: 0.7386 MB / 0.7927 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.2471, allocations: 25.02 kB / 0.7927 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.2471, allocations: 36.36 kB / 0.7928 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/0.2479, allocations: 390.2 kB / 0.7932 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.248, allocations: 0 / 0.7932 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.248, allocations: 15.94 kB / 0.7932 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.248, allocations: 8 kB / 0.7932 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009796/0.249, allocations: 422.4 kB / 0.7936 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.2521, allocations: 1.788 MB / 0.7953 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.2528, allocations: 226.5 kB / 0.7955 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.2531, allocations: 92.81 kB / 0.7956 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.2531, allocations: 12 kB / 0.7956 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2532, allocations: 34.56 kB / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.2532, allocations: 0 / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001019/0.2542, allocations: 384.2 kB / 0.796 GB, free: 284 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.2542, allocations: 51.41 kB / 0.7961 GB, free: 220 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.2556, allocations: 1.271 MB / 0.7973 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.2556, allocations: 29.7 kB / 0.7974 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.2559, allocations: 432.6 kB / 0.7978 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.256, allocations: 67 kB / 0.7978 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.2561, allocations: 53.69 kB / 0.7979 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.2562, allocations: 314 kB / 0.7982 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.2565, allocations: 151.9 kB / 0.7983 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.2569, allocations: 205.9 kB / 0.7985 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006055/0.2575, allocations: 284.1 kB / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.2575, allocations: 0 / 0.7988 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008338/0.2583, allocations: 474.5 kB / 0.7993 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2584, allocations: 8.156 kB / 0.7993 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.2584, allocations: 7.938 kB / 0.7993 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.2584, allocations: 11.92 kB / 0.7993 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.2587, allocations: 51.95 kB / 0.7993 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2587, allocations: 7.938 kB / 0.7993 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.259, allocations: 35.67 kB / 0.7994 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.259, allocations: 15.98 kB / 0.7994 GB, free: 12.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.2593, allocations: 269.7 kB / 0.7996 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2594, allocations: 86.88 kB / 0.7997 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/0.2602, allocations: 332.8 kB / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2602, allocations: 0 / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2603, allocations: 4 kB / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2603, allocations: 0 / 0.8 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.2618, allocations: 1.02 MB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2619, allocations: 0 / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.2621, allocations: 39.97 kB / 0.8011 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2621, allocations: 4 kB / 0.8011 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2622, allocations: 4 kB / 0.8011 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2622, allocations: 3.938 kB / 0.8011 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2622, allocations: 12.11 kB / 0.8011 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.2629, allocations: 443.7 kB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.2631, allocations: 203.9 kB / 0.8017 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.2632, allocations: 12 kB / 0.8017 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.2635, allocations: 11.98 kB / 0.8017 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.2636, allocations: 23.92 kB / 0.8018 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2636, allocations: 11.98 kB / 0.8018 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009928/0.2646, allocations: 0.9111 MB / 0.8027 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2646, allocations: 0 / 0.8027 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004433/0.265, allocations: 107.8 kB / 0.8028 GB, free: 9.129 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.2662, allocations: 0.9897 MB / 0.8037 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007094/0.2669, allocations: 287.6 kB / 0.804 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2669, allocations: 0 / 0.804 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.2672, allocations: 100.6 kB / 0.8041 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.2677, allocations: 75.61 kB / 0.8042 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/0.277, allocations: 7.311 MB / 0.8113 GB, free: 144 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.2777, allocations: 1.004 MB / 0.8123 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003238/0.278, allocations: 100.7 kB / 0.8124 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.2783, allocations: 287.3 kB / 0.8127 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.2784, allocations: 4 kB / 0.8127 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.3099, allocations: 13.65 MB / 0.826 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/9.256, allocations: 6.406 kB / 0.826 GB, free: 1.242 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)