Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.619/2.619, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001514/0.001513, allocations: 176.8 kB / 360.6 MB, free: 7.262 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.1/2.1, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 93.97 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.387e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.838, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3357/1.174, allocations: 140 MB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/1.174, allocations: 82 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06548/1.24, allocations: 9.779 MB / 1.11 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.625e-06/1.24, allocations: 4 kB / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.168e-05/1.24, allocations: 8 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001891/1.242, allocations: 0.7383 MB / 1.11 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/1.242, allocations: 12.02 kB / 1.11 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/1.243, allocations: 120.1 kB / 1.111 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/1.245, allocations: 0.5073 MB / 1.111 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/1.245, allocations: 4 kB / 1.111 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.245, allocations: 11.94 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009633/1.246, allocations: 243.9 kB / 1.111 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/1.247, allocations: 197.4 kB / 1.112 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.247, allocations: 3.984 kB / 1.112 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/1.247, allocations: 0 / 1.112 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.247, allocations: 8 kB / 1.112 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/1.25, allocations: 0.922 MB / 1.112 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.252, allocations: 358.4 kB / 1.113 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/1.253, allocations: 119.6 kB / 1.113 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002698/1.255, allocations: 332.8 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.255, allocations: 30.56 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 4.198e-06/1.255, allocations: 3.828 kB / 1.113 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.003187/1.259, allocations: 420.6 kB / 1.114 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.259, allocations: 51.41 kB / 1.114 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/1.261, allocations: 0.8405 MB / 1.115 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/1.261, allocations: 25.7 kB / 1.115 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/1.261, allocations: 344 kB / 1.115 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/1.261, allocations: 27.56 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/1.261, allocations: 0 / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.261, allocations: 313.9 kB / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/1.262, allocations: 107.9 kB / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/1.262, allocations: 112.9 kB / 1.115 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.263, allocations: 199.8 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.263, allocations: 0 / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001889/1.265, allocations: 420.1 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.265, allocations: 4 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.265, allocations: 3.938 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.265, allocations: 0 / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/1.266, allocations: 31.97 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.266, allocations: 3.047 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/1.266, allocations: 27.83 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/1.266, allocations: 8 kB / 1.116 GB, free: 15.87 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001166/1.266, allocations: 108.7 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00185/1.268, allocations: 423 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/1.268, allocations: 71.06 kB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/1.271, allocations: 485.5 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/1.271, allocations: 4 kB / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.271, allocations: 0 / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.271, allocations: 0 / 1.117 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.272, allocations: 0.5134 MB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.272, allocations: 0 / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/1.272, allocations: 35.97 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.272, allocations: 3.984 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/1.272, allocations: 7.938 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.272, allocations: 0 / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.272, allocations: 0 / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.274, allocations: 0.5128 MB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/1.274, allocations: 200.1 kB / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-05/1.275, allocations: 0 / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/1.275, allocations: 11.98 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/1.275, allocations: 7.984 kB / 1.118 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/1.275, allocations: 17.62 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001383/1.276, allocations: 0.6591 MB / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.91e-07/1.276, allocations: 0 / 1.119 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005951/1.277, allocations: 75.84 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.002219/1.279, allocations: 1.115 MB / 1.12 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004004/1.28, allocations: 180 kB / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.28, allocations: 0 / 1.12 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/1.28, allocations: 101.1 kB / 1.12 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/1.28, allocations: 51.3 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/1.283, allocations: 0.9854 MB / 1.121 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/1.284, allocations: 0.9616 MB / 1.122 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003874/1.284, allocations: 73.25 kB / 1.122 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/1.285, allocations: 223.3 kB / 1.123 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.285, allocations: 0 / 1.123 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06234/1.347, allocations: 10.68 MB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003345/1.348, allocations: 166.1 kB / 1.133 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/4.07, allocations: 0 / 1.133 GB, free: 14.26 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)