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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.001073/0.001072, allocations: 99.47 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.001173/0.001173, 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.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.056/1.056, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1945, allocations: 83.42 MB / 0.5974 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5858/0.7803, allocations: 135.5 MB / 0.7297 GB, free: 20 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00538/0.7858, allocations: 3.681 MB / 0.7333 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.7861, allocations: 10.5 kB / 0.7333 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.7868, allocations: 151.6 kB / 0.7335 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00093/0.7878, allocations: 291.5 kB / 0.7337 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.789, allocations: 347.3 kB / 0.7341 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.7895, allocations: 343.4 kB / 0.7344 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.7899, allocations: 155.3 kB / 0.7345 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.7907, allocations: 295.7 kB / 0.7348 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.791, allocations: 134.7 kB / 0.7349 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.791, allocations: 11 kB / 0.735 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.7912, allocations: 57.84 kB / 0.735 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.7913, allocations: 76.08 kB / 0.7351 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.573e-05/0.7914, allocations: 70.23 kB / 0.7352 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.7918, allocations: 214.2 kB / 0.7354 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7918, allocations: 4.656 kB / 0.7354 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7918, allocations: 0 / 0.7354 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.7918, allocations: 0 / 0.7354 GB, free: 12.47 MB / 0.5606 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.0008892/0.7927, allocations: 0.4937 MB / 0.7358 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7928, allocations: 8.25 kB / 0.7358 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/0.7928, allocations: 54.03 kB / 0.7359 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.7929, allocations: 30.5 kB / 0.7359 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.7934, allocations: 281.7 kB / 0.7362 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.7934, allocations: 12.25 kB / 0.7362 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.7935, allocations: 20.38 kB / 0.7362 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.794, allocations: 260.3 kB / 0.7365 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.794, allocations: 1.594 kB / 0.7365 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.794, allocations: 6.781 kB / 0.7365 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.794, allocations: 4.656 kB / 0.7365 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.7944, allocations: 164.1 kB / 0.7366 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.796, allocations: 1.38 MB / 0.738 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.7963, allocations: 186.2 kB / 0.7382 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/0.7967, allocations: 131.1 kB / 0.7383 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.7968, allocations: 46.17 kB / 0.7383 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.7968, allocations: 0 / 0.7383 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006574/0.7975, allocations: 222.7 kB / 0.7386 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.7976, allocations: 188.5 kB / 0.7387 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.7979, allocations: 286.4 kB / 0.739 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.7979, allocations: 29.7 kB / 0.739 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.7981, allocations: 144.1 kB / 0.7392 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.7981, allocations: 38.8 kB / 0.7392 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.7981, allocations: 0 / 0.7392 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7983, allocations: 339.9 kB / 0.7395 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.7984, allocations: 49.33 kB / 0.7396 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.7986, allocations: 122.7 kB / 0.7397 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.7988, allocations: 68.94 kB / 0.7398 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7988, allocations: 0 / 0.7398 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003808/0.7992, allocations: 197.8 kB / 0.74 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.7992, allocations: 8 kB / 0.74 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7993, allocations: 0 / 0.74 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7993, allocations: 7.953 kB / 0.74 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.7994, allocations: 37.39 kB / 0.74 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7994, allocations: 0.6562 kB / 0.74 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.7996, allocations: 31.62 kB / 0.74 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.7997, allocations: 12.06 kB / 0.74 GB, free: 8.32 MB / 0.5606 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.0001472/0.7998, allocations: 151.7 kB / 0.7402 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.7999, allocations: 28.42 kB / 0.7402 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.8003, allocations: 144.5 kB / 0.7404 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.8003, allocations: 8.688 kB / 0.7404 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.8003, allocations: 7.078 kB / 0.7404 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8003, allocations: 4.891 kB / 0.7404 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.8012, allocations: 0.7634 MB / 0.7411 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.8012, allocations: 7.984 kB / 0.7411 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.8014, allocations: 32.81 kB / 0.7412 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.8014, allocations: 4 kB / 0.7412 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.8014, allocations: 4 kB / 0.7412 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8014, allocations: 0.7031 kB / 0.7412 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8014, allocations: 4 kB / 0.7412 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.802, allocations: 412.3 kB / 0.7416 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.8021, allocations: 105.7 kB / 0.7417 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.8022, allocations: 8.703 kB / 0.7417 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.8023, allocations: 18.41 kB / 0.7417 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.8024, allocations: 11.03 kB / 0.7417 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.8024, allocations: 4.797 kB / 0.7417 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002047/0.8026, allocations: 209.8 kB / 0.7419 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8026, allocations: 0 / 0.7419 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003508/0.803, allocations: 52.8 kB / 0.742 GB, free: 6.344 MB / 0.5606 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.001231/0.8042, allocations: 1.334 MB / 0.7433 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.8046, allocations: 132.3 kB / 0.7434 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8046, allocations: 0 / 0.7434 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.8047, allocations: 67.02 kB / 0.7434 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006863/0.8054, allocations: 128 kB / 0.7436 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.8081, allocations: 2.518 MB / 0.746 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.8085, allocations: 0.7634 MB / 0.7468 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.8087, allocations: 52.42 kB / 0.7468 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.8088, allocations: 65.91 kB / 0.7469 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.8088, allocations: 0 / 0.7469 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.8269, allocations: 6.318 MB / 0.7531 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.8271, allocations: 232.8 kB / 0.7533 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.61, allocations: 4 kB / 0.7533 GB, free: 11.95 MB / 0.5762 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/linux/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) Environment - environmentSimulation: