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.008606/0.008606, allocations: 100.2 kB / 15.73 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.001637/0.001637, allocations: 193 kB / 16.67 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8059/0.8059, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.31 kB / 0.5856 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.192, allocations: 80.94 MB / 0.6647 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5634/0.7554, allocations: 179.4 MB / 0.8398 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.7663, allocations: 7.833 MB / 0.8475 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009814/0.7673, allocations: 20.59 kB / 0.8475 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009049/0.7683, allocations: 241.5 kB / 0.8477 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003649/0.772, allocations: 1.268 MB / 0.849 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.774, allocations: 0.7423 MB / 0.8497 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.7753, allocations: 1.08 MB / 0.8508 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005837/0.7759, allocations: 410.6 kB / 0.8512 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.7784, allocations: 0.8558 MB / 0.852 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.779, allocations: 444.8 kB / 0.8524 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.7791, allocations: 35.12 kB / 0.8525 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.781, allocations: 0.9544 MB / 0.8534 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.7812, allocations: 155.5 kB / 0.8535 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.7814, allocations: 242.9 kB / 0.8538 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.7828, allocations: 0.9437 MB / 0.8547 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7829, allocations: 0 / 0.8547 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7829, allocations: 2.625 kB / 0.8547 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.7829, 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.001258/0.7842, allocations: 0.8061 MB / 0.8555 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7842, allocations: 12.95 kB / 0.8555 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.7852, allocations: 140.7 kB / 0.8556 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.7858, allocations: 409 kB / 0.856 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.7858, allocations: 27.91 kB / 0.856 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.58e-05/0.7859, allocations: 42.97 kB / 0.8561 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.7866, allocations: 445.2 kB / 0.8565 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.7867, allocations: 6.75 kB / 0.8565 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.7867, allocations: 18.19 kB / 0.8565 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.7867, allocations: 14.38 kB / 0.8565 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.7873, allocations: 315.5 kB / 0.8568 GB, free: 9.598 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.002168/0.7895, allocations: 2.009 MB / 0.8588 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.7899, allocations: 235.8 kB / 0.859 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.7902, allocations: 148.4 kB / 0.8592 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/0.7908, allocations: 312.1 kB / 0.8595 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.7908, allocations: 33 kB / 0.8595 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.7908, allocations: 0 / 0.8595 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.001043/0.7919, allocations: 462.6 kB / 0.8599 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.7919, allocations: 51.41 kB / 0.86 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.7924, allocations: 402 kB / 0.8604 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.7925, allocations: 29.7 kB / 0.8604 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.7927, allocations: 232.2 kB / 0.8606 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.7927, allocations: 74.91 kB / 0.8607 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.7929, allocations: 57.61 kB / 0.8607 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.793, allocations: 358.7 kB / 0.8611 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.7933, allocations: 107.9 kB / 0.8612 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.7936, allocations: 190.7 kB / 0.8614 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.7941, allocations: 302.5 kB / 0.8617 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7941, allocations: 7.938 kB / 0.8617 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006368/0.7948, allocations: 360.8 kB / 0.862 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7948, allocations: 4 kB / 0.862 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7948, allocations: 13.3 kB / 0.862 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7948, allocations: 0 / 0.862 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.7952, allocations: 68.12 kB / 0.8621 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.7952, allocations: 0 / 0.8621 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.7954, allocations: 43.61 kB / 0.8621 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.7955, allocations: 11.94 kB / 0.8622 GB, free: 4.551 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.0001803/0.7957, allocations: 169.7 kB / 0.8623 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.7957, allocations: 43.44 kB / 0.8624 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000773/0.7965, allocations: 370.2 kB / 0.8627 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.7965, allocations: 4 kB / 0.8627 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7965, allocations: 0 / 0.8627 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7965, allocations: 3.984 kB / 0.8627 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.798, allocations: 0.9376 MB / 0.8636 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.798, allocations: 4 kB / 0.8636 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.7983, allocations: 47.86 kB / 0.8637 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.7983, allocations: 4 kB / 0.8637 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.7983, allocations: 15.98 kB / 0.8637 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.7983, allocations: 4 kB / 0.8637 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7983, allocations: 4.203 kB / 0.8637 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.7993, allocations: 0.6317 MB / 0.8643 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.7995, allocations: 148.6 kB / 0.8645 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.7995, allocations: 8 kB / 0.8645 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.7998, allocations: 11.98 kB / 0.8645 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.7998, allocations: 23.92 kB / 0.8645 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.7999, allocations: 12.06 kB / 0.8645 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002917/0.8002, allocations: 279.1 kB / 0.8648 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8002, allocations: 0 / 0.8648 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004839/0.8007, allocations: 123.7 kB / 0.8649 GB, free: 1.594 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.0004226/0.8011, allocations: 171.8 kB / 0.8651 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.8017, allocations: 283.7 kB / 0.8653 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8017, allocations: 0 / 0.8653 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.802, allocations: 151.7 kB / 0.8655 GB, free: 1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.8031, allocations: 226.8 kB / 0.8657 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.8044, allocations: 0.8121 MB / 0.8665 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.8049, allocations: 0.8233 MB / 0.8673 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.8052, allocations: 99.36 kB / 0.8674 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.8053, allocations: 35.44 kB / 0.8674 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.8053, allocations: 0 / 0.8674 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.01352/0.8188, allocations: 7.639 MB / 0.8749 GB, free: 7.41 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)