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.002053/0.002053, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8617/0.8617, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.5 MB / 395.5 MB, free: 10.72 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.001013/0.001013, allocations: 98.23 kB / 478.2 MB, free: 1.254 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.22e-05, allocations: 4 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5134, allocations: 82.31 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.63/5.144, allocations: 1.875 GB / 2.509 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/5.144, allocations: 87.95 kB / 2.509 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.832/6.976, allocations: 437.3 MB / 2.936 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.415e-06/6.976, allocations: 3.156 kB / 2.936 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.535e-05/6.976, allocations: 11.28 kB / 2.936 GB, free: 145.9 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.0018/6.978, allocations: 0.8524 MB / 2.937 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/6.978, allocations: 7.812 kB / 2.937 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/6.979, allocations: 143.6 kB / 2.937 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/6.98, allocations: 0.691 MB / 2.938 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/6.98, allocations: 11.41 kB / 2.938 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/6.98, allocations: 25 kB / 2.938 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004267/6.981, allocations: 251.2 kB / 2.938 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/6.981, allocations: 366.1 kB / 2.939 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/6.981, allocations: 0 / 2.939 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/6.981, allocations: 0 / 2.939 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/6.981, allocations: 11.72 kB / 2.939 GB, free: 145.2 MB / 0.6823 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.001682/6.983, allocations: 1.893 MB / 2.94 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/6.983, allocations: 195.9 kB / 2.941 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/6.983, allocations: 109 kB / 2.941 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/6.984, allocations: 306.9 kB / 2.941 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/6.984, allocations: 40.12 kB / 2.941 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/6.984, allocations: 1.625 kB / 2.941 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0009096/6.985, allocations: 378.2 kB / 2.941 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/6.985, allocations: 51.41 kB / 2.941 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/6.985, allocations: 226.1 kB / 2.942 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/6.985, allocations: 29.52 kB / 2.942 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/6.985, allocations: 238.4 kB / 2.942 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/6.985, allocations: 83.05 kB / 2.942 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/6.985, allocations: 1.875 kB / 2.942 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/6.985, allocations: 345.7 kB / 2.942 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/6.985, allocations: 80.12 kB / 2.942 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/6.986, allocations: 178.7 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/6.986, allocations: 209.6 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/6.986, allocations: 0 / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006196/6.987, allocations: 388.6 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/6.987, allocations: 5.125 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/6.987, allocations: 4.609 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/6.987, allocations: 5.469 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/6.987, allocations: 59.09 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/6.987, allocations: 7.156 kB / 2.943 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/6.987, allocations: 45.5 kB / 2.943 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/6.987, allocations: 20.48 kB / 2.943 GB, free: 142.6 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 () * 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.68e-05/6.987, allocations: 111.5 kB / 2.943 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006052/6.988, allocations: 343.6 kB / 2.944 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/6.988, allocations: 33.09 kB / 2.944 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007099/6.989, allocations: 394 kB / 2.944 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/6.989, allocations: 0 / 2.944 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/6.989, allocations: 2.25 kB / 2.944 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/6.989, allocations: 3.609 kB / 2.944 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/6.99, allocations: 0.9055 MB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/6.99, allocations: 2.938 kB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/6.99, allocations: 51.05 kB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/6.991, allocations: 2.438 kB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/6.991, allocations: 9.156 kB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/6.991, allocations: 3.953 kB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/6.991, allocations: 5.906 kB / 2.945 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/6.991, allocations: 0.705 MB / 2.946 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/6.992, allocations: 140.8 kB / 2.946 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/6.992, allocations: 3.781 kB / 2.946 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/6.992, allocations: 28.47 kB / 2.946 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/6.992, allocations: 19.66 kB / 2.946 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/6.992, allocations: 10.56 kB / 2.946 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001283/6.992, allocations: 177.6 kB / 2.946 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/6.992, allocations: 0 / 2.946 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007927/6.993, allocations: 221.2 kB / 2.946 GB, free: 141.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 () * 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.003236/6.996, allocations: 3.341 MB / 2.95 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000515/6.997, allocations: 224 kB / 2.95 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.997, allocations: 0.5312 kB / 2.95 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/6.997, allocations: 123.4 kB / 2.95 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/6.998, allocations: 114.3 kB / 2.95 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/6.999, allocations: 0.6681 MB / 2.951 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/7, allocations: 0.8373 MB / 2.952 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000312/7, allocations: 83.25 kB / 2.952 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/7, allocations: 137.7 kB / 2.952 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/7, allocations: 0.5312 kB / 2.952 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04898/7.049, allocations: 19.7 MB / 2.971 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/7.05, allocations: 175.1 kB / 2.971 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/9.931, allocations: 3.594 kB / 2.971 GB, free: 138.5 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)