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.001065/0.001065, allocations: 101.3 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 200.1 kB / 17.3 MB, free: 5.516 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7694/0.7694, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 63.91 kB / 0.5067 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3899, allocations: 80.91 MB / 0.5858 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5135/0.9034, allocations: 179.4 MB / 0.7609 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008116/0.9116, allocations: 7.84 MB / 0.7686 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005598/0.9122, allocations: 18.69 kB / 0.7686 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.9128, allocations: 240.6 kB / 0.7688 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.9159, allocations: 1.22 MB / 0.77 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.9178, allocations: 0.729 MB / 0.7707 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.9193, allocations: 1.087 MB / 0.7718 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006732/0.92, allocations: 409.3 kB / 0.7722 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002054/0.922, allocations: 0.8336 MB / 0.773 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.9226, allocations: 432.6 kB / 0.7734 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.9227, allocations: 39.08 kB / 0.7734 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.9244, allocations: 0.9458 MB / 0.7744 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.9245, allocations: 158.8 kB / 0.7745 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.9247, allocations: 252.4 kB / 0.7748 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.9258, allocations: 0.9433 MB / 0.7757 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9258, allocations: 0 / 0.7757 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9258, allocations: 1.75 kB / 0.7757 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.9258, allocations: 0 / 0.7757 GB, free: 1.461 MB / 0.5762 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.001177/0.927, allocations: 0.7978 MB / 0.7765 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9271, allocations: 11.73 kB / 0.7765 GB, free: 16.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009871/0.928, allocations: 154.5 kB / 0.7766 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/0.9287, allocations: 403 kB / 0.777 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.9287, allocations: 30.44 kB / 0.777 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.9288, allocations: 37.8 kB / 0.7771 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.9295, allocations: 445.1 kB / 0.7775 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.9295, allocations: 7.219 kB / 0.7775 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.9296, allocations: 22.62 kB / 0.7775 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.9296, allocations: 12.53 kB / 0.7775 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.9301, allocations: 317.9 kB / 0.7778 GB, free: 16.53 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.001932/0.9321, allocations: 2.017 MB / 0.7798 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.9324, allocations: 240.5 kB / 0.78 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.9326, allocations: 149.2 kB / 0.7802 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005485/0.9332, allocations: 304.9 kB / 0.7805 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.9332, allocations: 37.03 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.734e-06/0.9332, allocations: 0.875 kB / 0.7805 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0008679/0.9341, allocations: 457.6 kB / 0.7809 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.9342, allocations: 58.27 kB / 0.781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.9345, allocations: 398.1 kB / 0.7814 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.9345, allocations: 30.3 kB / 0.7814 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.9346, allocations: 228.1 kB / 0.7816 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.9347, allocations: 87.86 kB / 0.7817 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.9348, allocations: 53.89 kB / 0.7818 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.9349, allocations: 355.6 kB / 0.7821 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.9351, allocations: 111.6 kB / 0.7822 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.9353, allocations: 185.1 kB / 0.7824 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.9358, allocations: 310.8 kB / 0.7827 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9358, allocations: 0 / 0.7827 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005123/0.9363, allocations: 360.8 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.9363, allocations: 7.25 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9363, allocations: 6.969 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.9363, allocations: 4.609 kB / 0.783 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.9366, allocations: 54.77 kB / 0.7831 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9366, allocations: 8.953 kB / 0.7831 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.9368, allocations: 47.5 kB / 0.7831 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.9369, allocations: 10.66 kB / 0.7832 GB, free: 13.84 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.0001474/0.937, allocations: 168.3 kB / 0.7833 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.9371, allocations: 39.03 kB / 0.7834 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005936/0.9377, allocations: 365.8 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.9377, allocations: 2.188 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9377, allocations: 0.8125 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9377, allocations: 2.906 kB / 0.7837 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.9389, allocations: 0.946 MB / 0.7846 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9389, allocations: 2.094 kB / 0.7846 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.9392, allocations: 47.8 kB / 0.7847 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.9392, allocations: 8.719 kB / 0.7847 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.9392, allocations: 6.312 kB / 0.7847 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9392, allocations: 3.469 kB / 0.7847 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9392, allocations: 7.719 kB / 0.7847 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.94, allocations: 0.6347 MB / 0.7853 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.9401, allocations: 152.2 kB / 0.7855 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.9402, allocations: 9.25 kB / 0.7855 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.9404, allocations: 10.75 kB / 0.7855 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.9405, allocations: 23.05 kB / 0.7855 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.9405, allocations: 10.91 kB / 0.7855 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002235/0.9407, allocations: 285.1 kB / 0.7858 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9408, allocations: 0 / 0.7858 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004125/0.9412, allocations: 107.8 kB / 0.7859 GB, free: 12.85 MB / 0.5919 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.000337/0.9415, allocations: 167.4 kB / 0.7861 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.942, allocations: 299.2 kB / 0.7863 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.942, allocations: 1 kB / 0.7863 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.9423, allocations: 153.6 kB / 0.7865 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.9432, allocations: 225 kB / 0.7867 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.9444, allocations: 0.8061 MB / 0.7875 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.9448, allocations: 0.827 MB / 0.7883 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002644/0.9451, allocations: 100.7 kB / 0.7884 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.9451, allocations: 35.03 kB / 0.7884 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.9452, allocations: 1.203 kB / 0.7884 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.01136/0.9565, allocations: 7.596 MB / 0.7958 GB, free: 11.25 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)