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.006148/0.006148, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001316/0.001316, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 59.91 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.509/0.5106, allocations: 80.92 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2129/0.7235, allocations: 179.4 MB / 0.8398 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009242/0.7328, allocations: 7.823 MB / 0.8475 GB, free: 5.742 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.7334, allocations: 27.88 kB / 0.8475 GB, free: 5.715 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.7342, allocations: 246.2 kB / 0.8478 GB, free: 5.473 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.7375, allocations: 1.229 MB / 0.849 GB, free: 4.238 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.7395, allocations: 0.7284 MB / 0.8497 GB, free: 3.508 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001424/0.7409, allocations: 1.076 MB / 0.8507 GB, free: 2.43 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006156/0.7415, allocations: 420.9 kB / 0.8511 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.7438, allocations: 0.8323 MB / 0.8519 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.7445, allocations: 426.5 kB / 0.8523 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.7446, allocations: 40 kB / 0.8524 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.7465, allocations: 0.9472 MB / 0.8533 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.7467, allocations: 163.3 kB / 0.8535 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.747, allocations: 246.8 kB / 0.8537 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001373/0.7483, allocations: 0.948 MB / 0.8546 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7484, allocations: 4 kB / 0.8546 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7484, allocations: 0 / 0.8546 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.7484, allocations: 0 / 0.8546 GB, free: 14.43 MB / 0.6856 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.001182/0.7496, allocations: 0.8134 MB / 0.8554 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7496, allocations: 16.02 kB / 0.8554 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.7505, allocations: 143.6 kB / 0.8556 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.7511, allocations: 415.5 kB / 0.856 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.7512, allocations: 29 kB / 0.856 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.7513, allocations: 40 kB / 0.856 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.752, allocations: 454.3 kB / 0.8565 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.752, allocations: 0 / 0.8565 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.7521, allocations: 20 kB / 0.8565 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.7521, allocations: 16 kB / 0.8565 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.7527, allocations: 319.7 kB / 0.8568 GB, free: 12.09 MB / 0.6856 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.002188/0.7549, allocations: 2.008 MB / 0.8588 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.7554, allocations: 238.4 kB / 0.859 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.7556, allocations: 144.8 kB / 0.8591 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/0.7562, allocations: 311.2 kB / 0.8594 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.7563, allocations: 34.56 kB / 0.8595 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.7563, allocations: 0 / 0.8595 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001044/0.7573, allocations: 461.4 kB / 0.8599 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.7574, allocations: 63.28 kB / 0.86 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.7578, allocations: 393.9 kB / 0.8603 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7578, allocations: 29.7 kB / 0.8604 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.758, allocations: 232.5 kB / 0.8606 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.7581, allocations: 95.2 kB / 0.8607 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.7582, allocations: 53.7 kB / 0.8607 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.7584, allocations: 354.7 kB / 0.8611 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.7586, allocations: 111.9 kB / 0.8612 GB, free: 7.305 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.7589, allocations: 186.8 kB / 0.8613 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.7594, allocations: 313.9 kB / 0.8616 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7594, allocations: 4 kB / 0.8616 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006638/0.7601, allocations: 364.9 kB / 0.862 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.7601, allocations: 4 kB / 0.862 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7602, allocations: 4 kB / 0.862 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7602, allocations: 4 kB / 0.862 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.7605, allocations: 60.12 kB / 0.8621 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7605, allocations: 4 kB / 0.8621 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.7607, allocations: 43.66 kB / 0.8621 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.7608, allocations: 15.98 kB / 0.8621 GB, free: 6.27 MB / 0.6856 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.0001843/0.761, allocations: 163.3 kB / 0.8623 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.761, allocations: 39.77 kB / 0.8623 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.7618, allocations: 376.9 kB / 0.8627 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.7618, allocations: 3.938 kB / 0.8627 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7618, allocations: 0 / 0.8627 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.7618, allocations: 7.938 kB / 0.8627 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.7632, allocations: 0.9332 MB / 0.8636 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7633, allocations: 0 / 0.8636 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.7635, allocations: 51.91 kB / 0.8637 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.7635, allocations: 4 kB / 0.8637 GB, free: 4.613 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.7635, allocations: 4 kB / 0.8637 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.7636, allocations: 4 kB / 0.8637 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7636, allocations: 224 / 0.8637 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.7645, allocations: 0.6486 MB / 0.8643 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.7647, allocations: 140.8 kB / 0.8644 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.7647, allocations: 11.94 kB / 0.8644 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.765, allocations: 8 kB / 0.8645 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.765, allocations: 19.97 kB / 0.8645 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.7651, allocations: 16 kB / 0.8645 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003212/0.7654, allocations: 283.1 kB / 0.8648 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7654, allocations: 3.938 kB / 0.8648 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004783/0.7659, allocations: 111.8 kB / 0.8649 GB, free: 3.324 MB / 0.6856 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.000456/0.7663, allocations: 168.3 kB / 0.865 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006422/0.767, allocations: 287.6 kB / 0.8653 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.767, allocations: 0 / 0.8653 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.7673, allocations: 154.3 kB / 0.8654 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.7684, allocations: 216.5 kB / 0.8657 GB, free: 2.52 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.7698, allocations: 0.8224 MB / 0.8665 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.7703, allocations: 0.8272 MB / 0.8673 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.7706, allocations: 99.41 kB / 0.8674 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.7707, allocations: 35.44 kB / 0.8674 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of SimCode: time 3.91e-07/0.7707, allocations: 3.938 kB / 0.8674 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of Templates: time 0.3895/1.16, allocations: 7.636 MB / 0.8749 GB, free: 192.3 MB / 0.6856 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)