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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 192 kB / 16.53 MB, free: 6.391 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9908/0.9908, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 64.59 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.184, allocations: 80.94 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4895/0.6736, allocations: 179.4 MB / 0.7596 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009609/0.6833, allocations: 7.817 MB / 0.7672 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/0.6841, allocations: 19.88 kB / 0.7672 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.6848, allocations: 250.2 kB / 0.7674 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.688, allocations: 1.229 MB / 0.7686 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.6899, allocations: 0.7214 MB / 0.7693 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.6913, allocations: 1.08 MB / 0.7704 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006137/0.6919, allocations: 406.9 kB / 0.7708 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.6941, allocations: 0.8284 MB / 0.7716 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005921/0.6947, allocations: 430.5 kB / 0.772 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.6948, allocations: 40 kB / 0.772 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.6967, allocations: 0.9431 MB / 0.773 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.6969, allocations: 167.5 kB / 0.7731 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.6971, allocations: 246.8 kB / 0.7734 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.6986, allocations: 0.9232 MB / 0.7743 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6986, allocations: 0 / 0.7743 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6986, allocations: 0 / 0.7743 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.6986, allocations: 4 kB / 0.7743 GB, free: 10.43 MB / 0.5919 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.001255/0.6999, allocations: 0.8063 MB / 0.7751 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7, allocations: 12.03 kB / 0.7751 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.701, allocations: 155.2 kB / 0.7752 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.7015, allocations: 387.2 kB / 0.7756 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.7016, allocations: 29 kB / 0.7756 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.7016, allocations: 36 kB / 0.7756 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.7023, allocations: 442.4 kB / 0.7761 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7024, allocations: 3.938 kB / 0.7761 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.7024, allocations: 23.56 kB / 0.7761 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.7024, allocations: 8 kB / 0.7761 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.7031, allocations: 327.8 kB / 0.7764 GB, free: 8.133 MB / 0.5919 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.002329/0.7054, allocations: 2.015 MB / 0.7784 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.7059, allocations: 238.4 kB / 0.7786 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.7061, allocations: 152.8 kB / 0.7788 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.7069, allocations: 311.2 kB / 0.7791 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.7069, allocations: 34.55 kB / 0.7791 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.7069, allocations: 0 / 0.7791 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001056/0.708, allocations: 450.7 kB / 0.7795 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.708, allocations: 59.27 kB / 0.7796 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000401/0.7084, allocations: 398 kB / 0.78 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.7085, allocations: 33.7 kB / 0.78 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.7086, allocations: 228.2 kB / 0.7802 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.7087, allocations: 86.75 kB / 0.7803 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.7088, allocations: 53.7 kB / 0.7803 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7089, allocations: 354.7 kB / 0.7807 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.7092, allocations: 111.9 kB / 0.7808 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.7095, allocations: 188.1 kB / 0.781 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.71, allocations: 306.3 kB / 0.7813 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.71, allocations: 4 kB / 0.7813 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006167/0.7106, allocations: 356.8 kB / 0.7816 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7106, allocations: 11.98 kB / 0.7816 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7106, allocations: 0 / 0.7816 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.7107, allocations: 7.938 kB / 0.7816 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.7109, allocations: 60.12 kB / 0.7817 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.711, allocations: 15.88 kB / 0.7817 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.7112, allocations: 43.52 kB / 0.7817 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.7113, allocations: 12 kB / 0.7817 GB, free: 2.32 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.7115, allocations: 165.7 kB / 0.7819 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.7115, allocations: 35.53 kB / 0.7819 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006899/0.7122, allocations: 372.5 kB / 0.7823 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7122, allocations: 0 / 0.7823 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7123, allocations: 4 kB / 0.7823 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.7123, allocations: 3.984 kB / 0.7823 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.7136, allocations: 0.9345 MB / 0.7832 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.7137, allocations: 3.938 kB / 0.7832 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.7139, allocations: 43.98 kB / 0.7833 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.7139, allocations: 3.938 kB / 0.7833 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.714, allocations: 11.98 kB / 0.7833 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.714, allocations: 7.938 kB / 0.7833 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.714, allocations: 8.219 kB / 0.7833 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.715, allocations: 0.6288 MB / 0.7839 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.7151, allocations: 152.5 kB / 0.784 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.7152, allocations: 4 kB / 0.784 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.7154, allocations: 15.98 kB / 0.7841 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.7155, allocations: 16.05 kB / 0.7841 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.7155, allocations: 12 kB / 0.7841 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003026/0.7158, allocations: 287.1 kB / 0.7844 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7158, allocations: 0 / 0.7844 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004918/0.7163, allocations: 107.8 kB / 0.7845 GB, free: 15.38 MB / 0.6075 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 (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.0004367/0.7168, allocations: 179.9 kB / 0.7846 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006397/0.7174, allocations: 307.4 kB / 0.7849 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7175, allocations: 0 / 0.7849 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.7177, allocations: 144.7 kB / 0.7851 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.7188, allocations: 232.6 kB / 0.7853 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.7202, allocations: 0.8179 MB / 0.7861 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.7206, allocations: 0.8388 MB / 0.7869 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003087/0.7209, allocations: 91.42 kB / 0.787 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.7211, allocations: 39.42 kB / 0.787 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.7211, allocations: 4 kB / 0.787 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.01389/0.735, allocations: 7.579 MB / 0.7944 GB, free: 5.262 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)