Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5051/0.5051, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 343.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 109.8 kB / 415.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.886e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.978/5.133, allocations: 1.866 GB / 2.419 GB, free: 207.2 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/5.134, allocations: 86.77 kB / 2.419 GB, free: 207.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.656/6.79, allocations: 437.3 MB / 2.846 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.653e-06/6.79, allocations: 0 / 2.846 GB, free: 101.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.962e-05/6.79, allocations: 19.28 kB / 2.846 GB, free: 101.1 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002002/6.792, allocations: 0.8441 MB / 2.847 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/6.792, allocations: 8.812 kB / 2.847 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/6.793, allocations: 152 kB / 2.847 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/6.795, allocations: 0.6806 MB / 2.848 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/6.795, allocations: 11.72 kB / 2.848 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/6.795, allocations: 26.58 kB / 2.848 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005578/6.795, allocations: 251.7 kB / 2.848 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/6.796, allocations: 360.2 kB / 2.849 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/6.796, allocations: 3.531 kB / 2.849 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/6.796, allocations: 0 / 2.849 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/6.796, allocations: 17.69 kB / 2.849 GB, free: 100.4 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.002172/6.798, allocations: 1.886 MB / 2.851 GB, free: 99.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/6.799, allocations: 192.7 kB / 2.851 GB, free: 99.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/6.799, allocations: 114 kB / 2.851 GB, free: 99.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/6.799, allocations: 306.9 kB / 2.851 GB, free: 98.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/6.799, allocations: 42.17 kB / 2.851 GB, free: 98.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/6.799, allocations: 0 / 2.851 GB, free: 98.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.001012/6.8, allocations: 384.5 kB / 2.852 GB, free: 98.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/6.8, allocations: 55.16 kB / 2.852 GB, free: 98.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/6.801, allocations: 223.5 kB / 2.852 GB, free: 98.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/6.801, allocations: 25.7 kB / 2.852 GB, free: 98.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/6.801, allocations: 243.3 kB / 2.852 GB, free: 98.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.924e-05/6.801, allocations: 81.61 kB / 2.852 GB, free: 98.37 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/6.801, allocations: 4.688 kB / 2.852 GB, free: 98.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001004/6.801, allocations: 341.1 kB / 2.852 GB, free: 98.06 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/6.801, allocations: 80.7 kB / 2.853 GB, free: 98.06 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/6.801, allocations: 169.5 kB / 2.853 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/6.802, allocations: 204.5 kB / 2.853 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.802, allocations: 1.031 kB / 2.853 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007738/6.803, allocations: 396.1 kB / 2.853 GB, free: 97.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/6.803, allocations: 5.766 kB / 2.853 GB, free: 97.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/6.803, allocations: 3.969 kB / 2.853 GB, free: 97.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/6.803, allocations: 3.719 kB / 2.853 GB, free: 97.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/6.803, allocations: 57.55 kB / 2.853 GB, free: 97.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/6.803, allocations: 6.891 kB / 2.853 GB, free: 97.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/6.804, allocations: 47.19 kB / 2.853 GB, free: 97.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/6.804, allocations: 14.7 kB / 2.853 GB, free: 97.9 MB / 0.5886 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 8.828e-05/6.804, allocations: 108 kB / 2.854 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007625/6.804, allocations: 350.6 kB / 2.854 GB, free: 97.75 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/6.804, allocations: 30.22 kB / 2.854 GB, free: 97.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000917/6.805, allocations: 391.2 kB / 2.854 GB, free: 97.69 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/6.805, allocations: 12.89 kB / 2.854 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/6.805, allocations: 0 / 2.854 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/6.805, allocations: 2.938 kB / 2.854 GB, free: 97.68 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/6.807, allocations: 0.9046 MB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/6.807, allocations: 5.25 kB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/6.807, allocations: 50.47 kB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/6.807, allocations: 3.656 kB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/6.807, allocations: 7.031 kB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/6.807, allocations: 3.844 kB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/6.807, allocations: 3.844 kB / 2.855 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/6.808, allocations: 0.7132 MB / 2.856 GB, free: 97.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/6.809, allocations: 133.4 kB / 2.856 GB, free: 96.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/6.809, allocations: 5.594 kB / 2.856 GB, free: 96.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/6.809, allocations: 22.91 kB / 2.856 GB, free: 96.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/6.809, allocations: 24.31 kB / 2.856 GB, free: 96.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/6.809, allocations: 18.5 kB / 2.856 GB, free: 96.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001778/6.809, allocations: 182.2 kB / 2.856 GB, free: 96.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/6.809, allocations: 0 / 2.856 GB, free: 96.83 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000891/6.81, allocations: 209.8 kB / 2.856 GB, free: 96.82 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.003515/6.814, allocations: 3.341 MB / 2.86 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004648/6.814, allocations: 231.8 kB / 2.86 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/6.814, allocations: 0 / 2.86 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/6.814, allocations: 121 kB / 2.86 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/6.815, allocations: 117.7 kB / 2.86 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/6.816, allocations: 0.6547 MB / 2.861 GB, free: 94.89 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/6.817, allocations: 0.8425 MB / 2.862 GB, free: 94.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003083/6.817, allocations: 83.27 kB / 2.862 GB, free: 94.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/6.817, allocations: 143.2 kB / 2.862 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of SimCode: time 1.493e-06/6.817, allocations: 0 / 2.862 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05158/6.869, allocations: 19.72 MB / 2.881 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/6.869, allocations: 176.3 kB / 2.881 GB, free: 93.72 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/9.58, allocations: 0 / 2.881 GB, free: 93.72 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)