Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.01642/0.01642, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.408/1.408, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.847/2.847, allocations: 223.2 MB / 406.8 MB, free: 3.254 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 89.67 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007174/0.0007176, allocations: 8 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.883, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.057/9.94, allocations: 1.876 GB / 2.525 GB, free: 71.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006523/9.941, allocations: 89.77 kB / 2.525 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.216/13.16, allocations: 442.8 MB / 2.958 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.097e-06/13.16, allocations: 0 / 2.958 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.132e-05/13.16, allocations: 19.47 kB / 2.958 GB, free: 153.8 MB / 0.6823 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.004158/13.16, allocations: 0.9096 MB / 2.959 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001022/13.16, allocations: 11.16 kB / 2.959 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/13.16, allocations: 78.34 kB / 2.959 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/13.16, allocations: 148.4 kB / 2.959 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/13.17, allocations: 0.687 MB / 2.96 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/13.17, allocations: 30.25 kB / 2.96 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/13.17, allocations: 36.5 kB / 2.96 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/13.17, allocations: 441.1 kB / 2.96 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/13.17, allocations: 2.031 kB / 2.96 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/13.17, allocations: 26.22 kB / 2.96 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/13.17, allocations: 14.02 kB / 2.96 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/13.17, allocations: 320 kB / 2.961 GB, free: 152.9 MB / 0.6823 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.004411/13.18, allocations: 2.002 MB / 2.963 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/13.18, allocations: 226 kB / 2.963 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/13.18, allocations: 302.7 kB / 2.963 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/13.18, allocations: 37.88 kB / 2.963 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 4.789e-06/13.18, allocations: 2.734 kB / 2.963 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.001714/13.18, allocations: 436.8 kB / 2.963 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/13.18, allocations: 55.09 kB / 2.964 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/13.18, allocations: 346.4 kB / 2.964 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/13.18, allocations: 29.27 kB / 2.964 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/13.18, allocations: 234.8 kB / 2.964 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/13.18, allocations: 89.19 kB / 2.964 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/13.18, allocations: 3.625 kB / 2.964 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001837/13.18, allocations: 355.6 kB / 2.965 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/13.18, allocations: 104.5 kB / 2.965 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/13.18, allocations: 203 kB / 2.965 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/13.18, allocations: 133.5 kB / 2.965 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/13.18, allocations: 0 / 2.965 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001131/13.18, allocations: 353.8 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/13.18, allocations: 10.91 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/13.18, allocations: 0 / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/13.18, allocations: 11.09 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/13.18, allocations: 59.88 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/13.18, allocations: 7.875 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/13.18, allocations: 58.23 kB / 2.965 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/13.18, allocations: 15.22 kB / 2.965 GB, free: 150.3 MB / 0.6823 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 (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 0.0003798/13.18, allocations: 165 kB / 2.966 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/13.18, allocations: 40.2 kB / 2.966 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/13.19, allocations: 361.9 kB / 2.966 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/13.19, allocations: 0 / 2.966 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/13.19, allocations: 4.453 kB / 2.966 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/13.19, allocations: 0.875 kB / 2.966 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/13.19, allocations: 0.9107 MB / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/13.19, allocations: 0 / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/13.19, allocations: 56.75 kB / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/13.19, allocations: 5.969 kB / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/13.19, allocations: 6.062 kB / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/13.19, allocations: 3.375 kB / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/13.19, allocations: 3.938 kB / 2.967 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/13.19, allocations: 0.6954 MB / 2.968 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/13.19, allocations: 144.5 kB / 2.968 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/13.19, allocations: 3.938 kB / 2.968 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/13.19, allocations: 26.97 kB / 2.968 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/13.19, allocations: 24.12 kB / 2.968 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/13.19, allocations: 15.58 kB / 2.968 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004806/13.19, allocations: 279.8 kB / 2.968 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/13.19, allocations: 3.172 kB / 2.968 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001906/13.19, allocations: 255.7 kB / 2.968 GB, free: 148.6 MB / 0.6823 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 () * Number of clocked 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.006544/13.2, allocations: 3.126 MB / 2.971 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001198/13.2, allocations: 288.6 kB / 2.972 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/13.2, allocations: 0 / 2.972 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/13.2, allocations: 144.1 kB / 2.972 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/13.2, allocations: 215.5 kB / 2.972 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0081/13.21, allocations: 3.457 MB / 2.975 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/13.21, allocations: 0.8441 MB / 2.976 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000711/13.21, allocations: 94.8 kB / 2.976 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/13.21, allocations: 133.1 kB / 2.976 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.865e-06/13.21, allocations: 0 / 2.976 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09269/13.31, allocations: 34.44 MB / 3.01 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003675/13.31, allocations: 219.3 kB / 3.01 GB, free: 110 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.462/18.77, allocations: 0 / 3.01 GB, free: 110 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)