Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_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.001575/0.001575, allocations: 172.9 kB / 7.647 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.7899/0.7899, allocations: 133.6 MB / 141.6 MB, free: 2.914 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.596/1.596, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001088/0.001088, allocations: 107.2 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.885e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5129, allocations: 82.31 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.722/5.235, allocations: 1.875 GB / 2.509 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/5.235, allocations: 86.64 kB / 2.509 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.801/7.036, allocations: 437.3 MB / 2.936 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/7.036, allocations: 0 / 2.936 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.619e-05/7.036, allocations: 13.16 kB / 2.936 GB, free: 148.5 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.002346/7.039, allocations: 0.8438 MB / 2.937 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/7.039, allocations: 15.09 kB / 2.937 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/7.04, allocations: 147.3 kB / 2.937 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/7.042, allocations: 0.6847 MB / 2.938 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/7.042, allocations: 14.06 kB / 2.938 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.34e-05/7.042, allocations: 29.06 kB / 2.938 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005459/7.043, allocations: 250.4 kB / 2.938 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/7.043, allocations: 366.5 kB / 2.939 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/7.043, allocations: 0 / 2.939 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/7.043, allocations: 3.891 kB / 2.939 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/7.043, allocations: 11 kB / 2.939 GB, free: 147.8 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.002105/7.045, allocations: 1.889 MB / 2.94 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/7.046, allocations: 187.7 kB / 2.941 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/7.046, allocations: 120.5 kB / 2.941 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/7.046, allocations: 303.1 kB / 2.941 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/7.046, allocations: 37.58 kB / 2.941 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/7.046, allocations: 2.719 kB / 2.941 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24): time 0.0009932/7.047, allocations: 370.8 kB / 2.941 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/7.047, allocations: 54.53 kB / 2.941 GB, free: 146 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/7.048, allocations: 229.2 kB / 2.942 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/7.048, allocations: 28.92 kB / 2.942 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/7.048, allocations: 238.2 kB / 2.942 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/7.048, allocations: 83.11 kB / 2.942 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/7.048, allocations: 2.516 kB / 2.942 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/7.048, allocations: 345.6 kB / 2.942 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/7.048, allocations: 81.02 kB / 2.942 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/7.048, allocations: 178.2 kB / 2.943 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/7.049, allocations: 209.8 kB / 2.943 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/7.049, allocations: 5.062 kB / 2.943 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007344/7.05, allocations: 385.4 kB / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/7.05, allocations: 9.75 kB / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/7.05, allocations: 0 / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/7.05, allocations: 6.469 kB / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/7.05, allocations: 61.86 kB / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/7.05, allocations: 3.875 kB / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/7.05, allocations: 39.77 kB / 2.943 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/7.05, allocations: 15.16 kB / 2.943 GB, free: 145.2 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 9.033e-05/7.05, allocations: 116.8 kB / 2.943 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006316/7.051, allocations: 347.8 kB / 2.944 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/7.051, allocations: 29.97 kB / 2.944 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/7.052, allocations: 389.8 kB / 2.944 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/7.052, allocations: 3.938 kB / 2.944 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/7.052, allocations: 6.5 kB / 2.944 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/7.052, allocations: 9.531 kB / 2.944 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/7.053, allocations: 0.8993 MB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/7.053, allocations: 3.969 kB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/7.053, allocations: 54.02 kB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/7.053, allocations: 6.859 kB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/7.054, allocations: 3.844 kB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/7.054, allocations: 7.422 kB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/7.054, allocations: 3.875 kB / 2.945 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009278/7.054, allocations: 0.7054 MB / 2.946 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/7.055, allocations: 139.6 kB / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/7.055, allocations: 0 / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/7.055, allocations: 28.58 kB / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/7.055, allocations: 25.72 kB / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/7.055, allocations: 7.75 kB / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001505/7.055, allocations: 180.2 kB / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.623e-06/7.055, allocations: 0 / 2.946 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008537/7.056, allocations: 216.3 kB / 2.946 GB, free: 144.2 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.00372/7.06, allocations: 3.341 MB / 2.95 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004027/7.06, allocations: 224.3 kB / 2.95 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/7.06, allocations: 2.719 kB / 2.95 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/7.06, allocations: 117.2 kB / 2.95 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/7.061, allocations: 120.5 kB / 2.95 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/7.063, allocations: 0.657 MB / 2.951 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/7.063, allocations: 0.8379 MB / 2.952 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003073/7.063, allocations: 81.84 kB / 2.952 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/7.063, allocations: 138.2 kB / 2.952 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/7.063, allocations: 3.906 kB / 2.952 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04643/7.11, allocations: 19.7 MB / 2.971 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/7.11, allocations: 172.7 kB / 2.971 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/9.98, allocations: 3.938 kB / 2.971 GB, free: 140.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)