Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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 1.623/1.623, allocations: 287.4 MB / 302.5 MB, free: 8.242 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.0009453/0.0009455, allocations: 177.9 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0006943/0.0006943, allocations: 85.47 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 15.72 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1656, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.451/0.6166, allocations: 146.5 MB / 1.122 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004241/0.6209, allocations: 4.219 MB / 1.126 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.6212, allocations: 8.594 kB / 1.126 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.6215, allocations: 84.88 kB / 1.126 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000648/0.6222, allocations: 257 kB / 1.126 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.6228, allocations: 226.3 kB / 1.126 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000568/0.6234, allocations: 0.6737 MB / 1.127 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.6236, allocations: 163.9 kB / 1.127 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006789/0.6243, allocations: 366.5 kB / 1.128 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.6245, allocations: 190.1 kB / 1.128 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.6246, allocations: 10.75 kB / 1.128 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.6247, allocations: 66.78 kB / 1.128 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.6248, allocations: 82.2 kB / 1.128 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.986e-05/0.6249, allocations: 68.05 kB / 1.128 GB, free: 16.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.6251, allocations: 205 kB / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6251, allocations: 3.031 kB / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6251, allocations: 0 / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.6251, allocations: 4 kB / 1.128 GB, free: 16.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005672/0.6257, allocations: 0.4957 MB / 1.129 GB, free: 16.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6257, allocations: 8.875 kB / 1.129 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.6258, allocations: 53.42 kB / 1.129 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.6258, allocations: 29.44 kB / 1.129 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.6261, allocations: 271.9 kB / 1.129 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6261, allocations: 19.22 kB / 1.129 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.6261, allocations: 18.23 kB / 1.129 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.6265, allocations: 266 kB / 1.129 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6265, allocations: 7.281 kB / 1.129 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.6266, allocations: 15.97 kB / 1.129 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.6266, allocations: 5.062 kB / 1.129 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.6269, allocations: 155.3 kB / 1.13 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6279, allocations: 1.373 MB / 1.131 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.6282, allocations: 191.1 kB / 1.131 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.6283, allocations: 98.39 kB / 1.131 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003051/0.6286, allocations: 134 kB / 1.131 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6287, allocations: 46.98 kB / 1.131 GB, free: 14.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.6287, allocations: 0 / 1.131 GB, free: 14.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0005202/0.6292, allocations: 225.6 kB / 1.132 GB, free: 14.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.6293, allocations: 182.6 kB / 1.132 GB, free: 13.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.6295, allocations: 290.8 kB / 1.132 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.6295, allocations: 25.7 kB / 1.132 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.6296, allocations: 152.1 kB / 1.132 GB, free: 13.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.6297, allocations: 30.08 kB / 1.132 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/0.6297, allocations: 6.406 kB / 1.132 GB, free: 13.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.6298, allocations: 333.3 kB / 1.133 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.6299, allocations: 54.89 kB / 1.133 GB, free: 13.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.6301, allocations: 124.7 kB / 1.133 GB, free: 13.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.6303, allocations: 168.4 kB / 1.133 GB, free: 13.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6303, allocations: 0 / 1.133 GB, free: 13.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000345/0.6307, allocations: 196.5 kB / 1.133 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6307, allocations: 9.094 kB / 1.133 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6307, allocations: 2.156 kB / 1.133 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.6307, allocations: 6.531 kB / 1.133 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.6309, allocations: 34.72 kB / 1.133 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.6309, allocations: 12.88 kB / 1.133 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.631, allocations: 36.75 kB / 1.133 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.6311, allocations: 8.016 kB / 1.133 GB, free: 13.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001134/0.6312, allocations: 149.2 kB / 1.133 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.6313, allocations: 26.84 kB / 1.133 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.6316, allocations: 140.3 kB / 1.133 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6316, allocations: 2.688 kB / 1.133 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6316, allocations: 2.719 kB / 1.133 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6316, allocations: 5.391 kB / 1.133 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.6323, allocations: 0.779 MB / 1.134 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6323, allocations: 0 / 1.134 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.6324, allocations: 22.81 kB / 1.134 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6324, allocations: 6.203 kB / 1.134 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.6324, allocations: 3.438 kB / 1.134 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.6324, allocations: 3.938 kB / 1.134 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6324, allocations: 3.562 kB / 1.134 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.6329, allocations: 360.1 kB / 1.135 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.633, allocations: 108 kB / 1.135 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.633, allocations: 7.359 kB / 1.135 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.6331, allocations: 11.59 kB / 1.135 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.6332, allocations: 18.2 kB / 1.135 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.6332, allocations: 4.25 kB / 1.135 GB, free: 11.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001594/0.6334, allocations: 207.1 kB / 1.135 GB, free: 11.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.084e-06/0.6334, allocations: 1.75 kB / 1.135 GB, free: 11.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002927/0.6337, allocations: 61.84 kB / 1.135 GB, free: 11.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0008674/0.6345, allocations: 0.9192 MB / 1.136 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003003/0.6349, allocations: 129.6 kB / 1.136 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6349, allocations: 0 / 1.136 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.635, allocations: 67.81 kB / 1.136 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.6357, allocations: 128.9 kB / 1.136 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6375, allocations: 1.48 MB / 1.138 GB, free: 10.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.6378, allocations: 0.7597 MB / 1.138 GB, free: 9.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.6379, allocations: 48.33 kB / 1.138 GB, free: 9.766 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.638, allocations: 73.03 kB / 1.139 GB, free: 9.758 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.638, allocations: 1.859 kB / 1.139 GB, free: 9.758 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.7401, allocations: 6.332 MB / 1.145 GB, free: 8.035 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.7403, allocations: 228.6 kB / 1.145 GB, free: 7.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.203, allocations: 0 / 1.145 GB, free: 7.793 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)