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.00775/0.00775, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001849/0.001849, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7928/0.7928, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.61 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.152, allocations: 80.93 MB / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5618/0.7138, allocations: 179.4 MB / 0.8398 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008587/0.7224, allocations: 7.833 MB / 0.8475 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.723, allocations: 17.66 kB / 0.8475 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.7237, allocations: 249.8 kB / 0.8477 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.7267, allocations: 1.267 MB / 0.849 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.7288, allocations: 0.7513 MB / 0.8497 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.7299, allocations: 1.07 MB / 0.8508 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005467/0.7304, allocations: 414 kB / 0.8512 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.7326, allocations: 0.8548 MB / 0.852 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/0.7332, allocations: 436.4 kB / 0.8524 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.7332, allocations: 35.28 kB / 0.8524 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.735, allocations: 0.9563 MB / 0.8534 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.7352, allocations: 155.7 kB / 0.8535 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.7355, allocations: 244.9 kB / 0.8538 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.7369, allocations: 0.9474 MB / 0.8547 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7369, allocations: 2.688 kB / 0.8547 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7369, allocations: 0 / 0.8547 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.7369, allocations: 0 / 0.8547 GB, free: 11.19 MB / 0.6231 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.001063/0.738, allocations: 0.7984 MB / 0.8555 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.738, allocations: 10.52 kB / 0.8555 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/0.7389, allocations: 154.7 kB / 0.8556 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.7395, allocations: 404.8 kB / 0.856 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.7395, allocations: 28.12 kB / 0.856 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.7396, allocations: 36.88 kB / 0.8561 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.7403, allocations: 456 kB / 0.8565 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.7403, allocations: 3.938 kB / 0.8565 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.7403, allocations: 17.19 kB / 0.8565 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.7403, allocations: 9.5 kB / 0.8565 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.7409, allocations: 324.7 kB / 0.8568 GB, free: 9.594 MB / 0.6231 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.001954/0.7429, allocations: 2.009 MB / 0.8588 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.7433, allocations: 231.8 kB / 0.859 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.7435, allocations: 146.7 kB / 0.8592 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/0.744, allocations: 311.1 kB / 0.8595 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.7441, allocations: 34.56 kB / 0.8595 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.7441, allocations: 0 / 0.8595 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.0009375/0.745, allocations: 463 kB / 0.8599 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7451, allocations: 59.39 kB / 0.86 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.7455, allocations: 394 kB / 0.8604 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7455, allocations: 25.7 kB / 0.8604 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.7457, allocations: 236.2 kB / 0.8606 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.7457, allocations: 78.91 kB / 0.8607 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.7458, allocations: 61.61 kB / 0.8608 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.746, allocations: 354.7 kB / 0.8611 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.7462, allocations: 111.9 kB / 0.8612 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.7465, allocations: 186.8 kB / 0.8614 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004848/0.7469, allocations: 306.5 kB / 0.8617 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.747, allocations: 0 / 0.8617 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005883/0.7476, allocations: 368.7 kB / 0.862 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.7476, allocations: 4 kB / 0.862 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7476, allocations: 5.125 kB / 0.862 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7476, allocations: 4 kB / 0.862 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.7479, allocations: 55.91 kB / 0.8621 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.7479, allocations: 8.219 kB / 0.8621 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.7481, allocations: 39.61 kB / 0.8621 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.7482, allocations: 12 kB / 0.8621 GB, free: 4.539 MB / 0.6231 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.0001633/0.7483, allocations: 173.6 kB / 0.8623 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.7484, allocations: 43.44 kB / 0.8623 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.7491, allocations: 377.1 kB / 0.8627 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7491, allocations: 4 kB / 0.8627 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7491, allocations: 0 / 0.8627 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7491, allocations: 3.938 kB / 0.8627 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.7504, allocations: 0.9427 MB / 0.8636 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7504, allocations: 0 / 0.8636 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.7506, allocations: 55.84 kB / 0.8637 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.7507, allocations: 4 kB / 0.8637 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.7507, allocations: 8 kB / 0.8637 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7507, allocations: 4 kB / 0.8637 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.7507, allocations: 0 / 0.8637 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.7516, allocations: 0.6335 MB / 0.8643 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.7518, allocations: 144.6 kB / 0.8645 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.7518, allocations: 8 kB / 0.8645 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.752, allocations: 15.98 kB / 0.8645 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.7521, allocations: 19.91 kB / 0.8645 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.7521, allocations: 12 kB / 0.8645 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000271/0.7524, allocations: 279.2 kB / 0.8648 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7524, allocations: 4 kB / 0.8648 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004415/0.7528, allocations: 115.7 kB / 0.8649 GB, free: 1.578 MB / 0.6231 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.0004173/0.7533, allocations: 172 kB / 0.8651 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.7538, allocations: 292.9 kB / 0.8653 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7539, allocations: 0 / 0.8653 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.7541, allocations: 151.8 kB / 0.8655 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009512/0.7551, allocations: 223.7 kB / 0.8657 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.7563, allocations: 0.8044 MB / 0.8665 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.7567, allocations: 0.8272 MB / 0.8673 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.7569, allocations: 103.9 kB / 0.8674 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.757, allocations: 39.38 kB / 0.8674 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.757, allocations: 0 / 0.8674 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.01396/0.771, allocations: 7.633 MB / 0.8749 GB, free: 7.398 MB / 0.6387 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)