Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",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.0009698/0.0009698, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.007779/0.007779, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.355/1.355, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.001859, allocations: 274.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.94/0.94, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 16.28 kB / 0.5988 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1778, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5188/0.6966, allocations: 163.1 MB / 0.8445 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007655/0.7043, allocations: 6.471 MB / 0.8509 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.7048, allocations: 9.812 kB / 0.8509 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.7053, allocations: 125.9 kB / 0.851 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.7074, allocations: 0.7975 MB / 0.8518 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.7083, allocations: 284.1 kB / 0.852 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.7094, allocations: 1.011 MB / 0.853 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.7098, allocations: 228.7 kB / 0.8532 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.711, allocations: 0.5036 MB / 0.8537 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.7115, allocations: 278.4 kB / 0.854 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.7116, allocations: 17.94 kB / 0.854 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007188/0.7123, allocations: 393.3 kB / 0.8544 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.7124, allocations: 91.28 kB / 0.8545 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.7127, allocations: 174.3 kB / 0.8546 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.7134, allocations: 484.7 kB / 0.8551 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7134, allocations: 4 kB / 0.8551 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7134, allocations: 0 / 0.8551 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.7134, allocations: 0 / 0.8551 GB, free: 10.96 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007911/0.7142, allocations: 0.557 MB / 0.8557 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.7142, allocations: 10.84 kB / 0.8557 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.204e-05/0.7143, allocations: 62.09 kB / 0.8557 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.7146, allocations: 66.34 kB / 0.8558 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.715, allocations: 307.6 kB / 0.8561 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.715, allocations: 24.33 kB / 0.8561 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.7151, allocations: 26.94 kB / 0.8561 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.7156, allocations: 324 kB / 0.8564 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7156, allocations: 0 / 0.8564 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.7156, allocations: 11 kB / 0.8564 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.7156, allocations: 8.188 kB / 0.8565 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.716, allocations: 223.8 kB / 0.8567 GB, free: 9.699 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.7175, allocations: 1.532 MB / 0.8582 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.7177, allocations: 122.8 kB / 0.8583 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.7179, allocations: 96.98 kB / 0.8584 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.7185, allocations: 313.9 kB / 0.8587 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.7185, allocations: 37.53 kB / 0.8587 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.7185, allocations: 0 / 0.8587 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007248/0.7192, allocations: 293.2 kB / 0.859 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.7193, allocations: 54.34 kB / 0.859 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.7196, allocations: 313.3 kB / 0.8593 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.7196, allocations: 32.61 kB / 0.8594 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.7197, allocations: 184.7 kB / 0.8595 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.7198, allocations: 40.48 kB / 0.8596 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.7198, allocations: 16.62 kB / 0.8596 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7199, allocations: 342.7 kB / 0.8599 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.7201, allocations: 64.05 kB / 0.86 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.7203, allocations: 116.3 kB / 0.8601 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.7206, allocations: 194.7 kB / 0.8603 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7206, allocations: 0 / 0.8603 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004034/0.721, allocations: 223.1 kB / 0.8605 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.721, allocations: 8.562 kB / 0.8605 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7211, allocations: 3.25 kB / 0.8605 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7211, allocations: 6.359 kB / 0.8605 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.7212, allocations: 31.58 kB / 0.8605 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.7213, allocations: 6.938 kB / 0.8606 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.7215, allocations: 44.58 kB / 0.8606 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.7215, allocations: 7.312 kB / 0.8606 GB, free: 6.375 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001323/0.7216, allocations: 151.4 kB / 0.8607 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.7217, allocations: 32.91 kB / 0.8608 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004416/0.7221, allocations: 217.6 kB / 0.861 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.7222, allocations: 2.938 kB / 0.861 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7222, allocations: 0 / 0.861 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.7222, allocations: 3.984 kB / 0.861 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7232, allocations: 0.69 MB / 0.8617 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.7232, allocations: 3.344 kB / 0.8617 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7234, allocations: 40.52 kB / 0.8617 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.7234, allocations: 48 / 0.8617 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.7234, allocations: 13.67 kB / 0.8617 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.7234, allocations: 0.875 kB / 0.8617 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7234, allocations: 5.062 kB / 0.8617 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.7238, allocations: 351.9 kB / 0.8621 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.7239, allocations: 114.6 kB / 0.8622 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.724, allocations: 10.88 kB / 0.8622 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.7241, allocations: 25.98 kB / 0.8622 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.7242, allocations: 13.92 kB / 0.8622 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.7242, allocations: 6.219 kB / 0.8622 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002095/0.7244, allocations: 225 kB / 0.8624 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7244, allocations: 3.938 kB / 0.8624 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003577/0.7248, allocations: 73.09 kB / 0.8625 GB, free: 4.887 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001015/0.7258, allocations: 0.937 MB / 0.8634 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.7262, allocations: 165.5 kB / 0.8636 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7262, allocations: 0 / 0.8636 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.7264, allocations: 85.36 kB / 0.8637 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009091/0.7273, allocations: 152.2 kB / 0.8638 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.7308, allocations: 2.951 MB / 0.8667 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.7313, allocations: 0.7818 MB / 0.8675 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.7315, allocations: 63.41 kB / 0.8675 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.7316, allocations: 92.22 kB / 0.8676 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.7316, allocations: 0 / 0.8676 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.7586, allocations: 7.571 MB / 0.875 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/0.7589, allocations: 259.1 kB / 0.8752 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.557, allocations: 0 / 0.8752 GB, free: 12.61 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)