Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.001167/0.001167, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001327/0.001327, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.854/2.854, allocations: 409.2 MB / 0.6838 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005368/0.0005371, allocations: 8 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.124, allocations: 146.8 MB / 0.9809 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1818/1.306, allocations: 135.5 MB / 1.113 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004905/1.311, allocations: 3.678 MB / 1.117 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/1.311, allocations: 7.938 kB / 1.117 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/1.312, allocations: 155.3 kB / 1.117 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008224/1.313, allocations: 287.1 kB / 1.117 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00123/1.314, allocations: 353.5 kB / 1.118 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005728/1.314, allocations: 339.6 kB / 1.118 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/1.315, allocations: 157.3 kB / 1.118 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000786/1.316, allocations: 291.1 kB / 1.118 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/1.316, allocations: 139.5 kB / 1.118 GB, free: 9 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/1.316, allocations: 12 kB / 1.118 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/1.316, allocations: 59.89 kB / 1.119 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/1.316, allocations: 75.73 kB / 1.119 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/1.316, allocations: 65.64 kB / 1.119 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/1.317, allocations: 215.4 kB / 1.119 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/1.317, allocations: 0 / 1.119 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.893e-06/1.317, allocations: 0 / 1.119 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.317, allocations: 0 / 1.119 GB, free: 8.574 MB / 0.8731 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.0008787/1.318, allocations: 0.4907 MB / 1.119 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.318, allocations: 16.02 kB / 1.119 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/1.318, allocations: 50.55 kB / 1.119 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/1.318, allocations: 27.72 kB / 1.119 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/1.318, allocations: 267.5 kB / 1.12 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.318, allocations: 15.94 kB / 1.12 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/1.318, allocations: 20 kB / 1.12 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/1.319, allocations: 273.7 kB / 1.12 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.319, allocations: 8 kB / 1.12 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/1.319, allocations: 4 kB / 1.12 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/1.319, allocations: 7.984 kB / 1.12 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/1.319, allocations: 159.8 kB / 1.12 GB, free: 7.117 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/1.321, allocations: 1.371 MB / 1.121 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/1.321, allocations: 183.7 kB / 1.122 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/1.322, allocations: 137 kB / 1.122 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.322, allocations: 38.69 kB / 1.122 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/1.322, allocations: 0 / 1.122 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006903/1.322, allocations: 221.6 kB / 1.122 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/1.322, allocations: 184.1 kB / 1.122 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/1.323, allocations: 294.9 kB / 1.122 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/1.323, allocations: 33.7 kB / 1.123 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/1.323, allocations: 151.8 kB / 1.123 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/1.323, allocations: 27.56 kB / 1.123 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/1.323, allocations: 4 kB / 1.123 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.323, allocations: 334.8 kB / 1.123 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/1.323, allocations: 59.95 kB / 1.123 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/1.323, allocations: 116.5 kB / 1.123 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/1.324, allocations: 71.89 kB / 1.123 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.324, allocations: 0 / 1.123 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000449/1.324, allocations: 193.2 kB / 1.123 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.324, allocations: 4 kB / 1.123 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.324, allocations: 3.984 kB / 1.123 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.324, allocations: 4 kB / 1.123 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/1.324, allocations: 48.44 kB / 1.123 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/1.324, allocations: 0 / 1.123 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/1.325, allocations: 31.73 kB / 1.124 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/1.325, allocations: 16 kB / 1.124 GB, free: 3.348 MB / 0.8731 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.0001547/1.325, allocations: 145.7 kB / 1.124 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/1.325, allocations: 23.72 kB / 1.124 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/1.325, allocations: 143 kB / 1.124 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.325, allocations: 4 kB / 1.124 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.325, allocations: 48 / 1.124 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/1.325, allocations: 7.984 kB / 1.124 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/1.326, allocations: 0.7768 MB / 1.125 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.326, allocations: 4 kB / 1.125 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/1.327, allocations: 27.92 kB / 1.125 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.327, allocations: 0 / 1.125 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.327, allocations: 8.156 kB / 1.125 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.327, allocations: 3.938 kB / 1.125 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.327, allocations: 4 kB / 1.125 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/1.327, allocations: 419.9 kB / 1.125 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/1.327, allocations: 104.8 kB / 1.125 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.328, allocations: 4 kB / 1.125 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/1.328, allocations: 15.98 kB / 1.125 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/1.328, allocations: 11.94 kB / 1.125 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/1.328, allocations: 8.062 kB / 1.125 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002432/1.328, allocations: 209.9 kB / 1.125 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/1.328, allocations: 0 / 1.125 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005232/1.329, allocations: 59.84 kB / 1.125 GB, free: 1.223 MB / 0.8731 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.001418/1.33, allocations: 1.327 MB / 1.127 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000407/1.33, allocations: 128 kB / 1.127 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.331, allocations: 0 / 1.127 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/1.331, allocations: 76.58 kB / 1.127 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/1.332, allocations: 120.7 kB / 1.127 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/1.334, allocations: 2.504 MB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/1.335, allocations: 0.7716 MB / 1.13 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000191/1.335, allocations: 58.5 kB / 1.13 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/1.335, allocations: 67.41 kB / 1.13 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of SimCode: time 1.002e-06/1.335, allocations: 0 / 1.13 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/1.355, allocations: 6.302 MB / 1.137 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.356, allocations: 226.1 kB / 1.137 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/3.361, allocations: 0 / 1.137 GB, free: 5.652 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat