Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001104/0.001109, allocations: 108 kB / 15.61 MB, free: 152 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.001119/0.001119, allocations: 194.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9094/0.9094, allocations: 143.1 MB / 433.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 82.05 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3593/0.4891, allocations: 161.4 MB / 0.752 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004409/0.4935, allocations: 4.557 MB / 0.7564 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.4937, allocations: 7.938 kB / 0.7564 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.4941, allocations: 127 kB / 0.7566 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.4947, allocations: 334.4 kB / 0.7569 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.4953, allocations: 268.8 kB / 0.7571 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.4958, allocations: 0.565 MB / 0.7577 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.4961, allocations: 197.2 kB / 0.7579 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007446/0.4968, allocations: 462.1 kB / 0.7583 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.4971, allocations: 191.3 kB / 0.7585 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.4971, allocations: 16 kB / 0.7585 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.4973, allocations: 84.72 kB / 0.7586 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.4974, allocations: 83.78 kB / 0.7587 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.4975, allocations: 119.4 kB / 0.7588 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.4978, allocations: 307 kB / 0.7591 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4978, allocations: 0 / 0.7591 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4978, allocations: 0 / 0.7591 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4978, allocations: 8 kB / 0.7591 GB, free: 4.602 MB / 0.5762 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.0006783/0.4985, allocations: 0.5256 MB / 0.7596 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4986, allocations: 12.03 kB / 0.7596 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.4986, allocations: 51.11 kB / 0.7597 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.4987, allocations: 35.56 kB / 0.7597 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.499, allocations: 279.3 kB / 0.76 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.499, allocations: 12 kB / 0.76 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.499, allocations: 24 kB / 0.76 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.4994, allocations: 261.6 kB / 0.7603 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4994, allocations: 4 kB / 0.7603 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.4994, allocations: 11.94 kB / 0.7603 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4995, allocations: 4 kB / 0.7603 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.4998, allocations: 151.7 kB / 0.7604 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.5008, allocations: 1.367 MB / 0.7618 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5011, allocations: 187.7 kB / 0.7619 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.5013, allocations: 94.23 kB / 0.762 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.5016, allocations: 117 kB / 0.7621 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5016, allocations: 46.44 kB / 0.7622 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.5016, allocations: 0 / 0.7622 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005447/0.5022, allocations: 205.1 kB / 0.7624 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.5023, allocations: 188.5 kB / 0.7626 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.5025, allocations: 287 kB / 0.7628 GB, free: 420 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5025, allocations: 29.7 kB / 0.7629 GB, free: 384 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.5026, allocations: 147.9 kB / 0.763 GB, free: 232 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.5026, allocations: 39.52 kB / 0.763 GB, free: 192 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.5027, allocations: 33.7 kB / 0.7631 GB, free: 152 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5028, allocations: 338.8 kB / 0.7634 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.503, allocations: 46.03 kB / 0.7634 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5031, allocations: 120.1 kB / 0.7635 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.5034, allocations: 157.6 kB / 0.7637 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5034, allocations: 0 / 0.7637 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003434/0.5038, allocations: 193.1 kB / 0.7639 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5038, allocations: 11.94 kB / 0.7639 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5038, allocations: 0 / 0.7639 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.5038, allocations: 4 kB / 0.7639 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5039, allocations: 31.92 kB / 0.7639 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.504, allocations: 4.781 kB / 0.7639 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.5041, allocations: 31.95 kB / 0.764 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.5041, allocations: 8 kB / 0.764 GB, free: 15.16 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5043, allocations: 146.4 kB / 0.7641 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5044, allocations: 31.66 kB / 0.7641 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5047, allocations: 123.5 kB / 0.7643 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5047, allocations: 4.625 kB / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5047, allocations: 4 kB / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.5047, allocations: 4 kB / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.5054, allocations: 0.7729 MB / 0.765 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5054, allocations: 7.5 kB / 0.765 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5055, allocations: 24.14 kB / 0.7651 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5056, allocations: 11.88 kB / 0.7651 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5056, allocations: 0 / 0.7651 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.5056, allocations: 4 kB / 0.7651 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5056, allocations: 3.938 kB / 0.7651 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.5061, allocations: 339.3 kB / 0.7654 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.5061, allocations: 108.8 kB / 0.7655 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.5062, allocations: 12.03 kB / 0.7655 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5063, allocations: 7.984 kB / 0.7655 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.5063, allocations: 15.98 kB / 0.7655 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.5064, allocations: 8 kB / 0.7655 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001676/0.5065, allocations: 209.9 kB / 0.7657 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5065, allocations: 0 / 0.7657 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003021/0.5068, allocations: 59.84 kB / 0.7658 GB, free: 13.15 MB / 0.5919 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 (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.0008318/0.5077, allocations: 0.9029 MB / 0.7667 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.508, allocations: 123.8 kB / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.508, allocations: 192 / 0.7668 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.5082, allocations: 60.66 kB / 0.7669 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.5088, allocations: 131.9 kB / 0.767 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.5114, allocations: 2.613 MB / 0.7695 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.5117, allocations: 0.7558 MB / 0.7703 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000127/0.5118, allocations: 46.98 kB / 0.7703 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.5119, allocations: 79.41 kB / 0.7704 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5119, allocations: 0 / 0.7704 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.647/3.159, allocations: 6.796 MB / 0.777 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.665/12.82, allocations: 10.83 kB / 0.777 GB, free: 1.641 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)