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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001195/0.001195, allocations: 189.7 kB / 16.13 MB, free: 6.656 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.141/1.141, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.83 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 80.93 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3332/0.4595, allocations: 177.2 MB / 0.7568 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007091/0.4667, allocations: 7.856 MB / 0.7645 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.4669, allocations: 19.88 kB / 0.7645 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.4674, allocations: 186.8 kB / 0.7647 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.4693, allocations: 1.144 MB / 0.7658 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.4704, allocations: 0.6684 MB / 0.7664 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.4715, allocations: 1.544 MB / 0.768 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.4719, allocations: 345.3 kB / 0.7683 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.4737, allocations: 0.7587 MB / 0.769 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.4741, allocations: 458.3 kB / 0.7695 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.4742, allocations: 28 kB / 0.7695 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.4755, allocations: 1.083 MB / 0.7705 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4756, allocations: 151.5 kB / 0.7707 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4758, allocations: 238.8 kB / 0.7709 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009562/0.4768, allocations: 0.9776 MB / 0.7719 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4768, allocations: 0 / 0.7719 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.11e-07/0.4768, allocations: 4 kB / 0.7719 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4768, allocations: 0 / 0.7719 GB, free: 12.79 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.0009161/0.4777, allocations: 0.8065 MB / 0.7727 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.4778, allocations: 11.97 kB / 0.7727 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/0.4778, allocations: 79.02 kB / 0.7728 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.4787, allocations: 147.2 kB / 0.7729 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.4791, allocations: 391.3 kB / 0.7733 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4791, allocations: 29 kB / 0.7733 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.4792, allocations: 40 kB / 0.7733 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.4798, allocations: 446.4 kB / 0.7738 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4798, allocations: 3.938 kB / 0.7738 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.4799, allocations: 16 kB / 0.7738 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.4799, allocations: 12 kB / 0.7738 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000537/0.4804, allocations: 319.8 kB / 0.7741 GB, free: 10.41 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.001689/0.4821, allocations: 2.004 MB / 0.7761 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.4825, allocations: 242.4 kB / 0.7763 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.4827, allocations: 151.4 kB / 0.7764 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/0.4832, allocations: 307.2 kB / 0.7767 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.4832, allocations: 38.56 kB / 0.7768 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.4833, allocations: 0 / 0.7768 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0008624/0.4841, allocations: 448 kB / 0.7772 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.4842, allocations: 59.27 kB / 0.7772 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.4845, allocations: 401.9 kB / 0.7776 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.4845, allocations: 29.7 kB / 0.7777 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4847, allocations: 232.2 kB / 0.7779 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.4847, allocations: 82.81 kB / 0.778 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.4848, allocations: 53.7 kB / 0.778 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4849, allocations: 354.7 kB / 0.7783 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.4851, allocations: 111.9 kB / 0.7784 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.4854, allocations: 187.3 kB / 0.7786 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.4858, allocations: 305.9 kB / 0.7789 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4858, allocations: 0 / 0.7789 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005458/0.4864, allocations: 364.8 kB / 0.7793 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4864, allocations: 4 kB / 0.7793 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4864, allocations: 4 kB / 0.7793 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4864, allocations: 11.92 kB / 0.7793 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4866, allocations: 51.97 kB / 0.7793 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.4867, allocations: 7.938 kB / 0.7793 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.4869, allocations: 59.67 kB / 0.7794 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.4869, allocations: 15.98 kB / 0.7794 GB, free: 4.602 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.0001504/0.4871, allocations: 166.8 kB / 0.7796 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.4872, allocations: 39.53 kB / 0.7796 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.4878, allocations: 368.5 kB / 0.78 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4878, allocations: 4 kB / 0.78 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4878, allocations: 0 / 0.78 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4878, allocations: 0 / 0.78 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.489, allocations: 0.9408 MB / 0.7809 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.489, allocations: 4 kB / 0.7809 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.4892, allocations: 51.91 kB / 0.7809 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4892, allocations: 4 kB / 0.7809 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.4893, allocations: 4 kB / 0.7809 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4893, allocations: 11.92 kB / 0.781 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4893, allocations: 4.219 kB / 0.781 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.4901, allocations: 0.6332 MB / 0.7816 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4902, allocations: 148.6 kB / 0.7817 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4902, allocations: 8 kB / 0.7817 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.4905, allocations: 20.05 kB / 0.7817 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.4905, allocations: 23.97 kB / 0.7818 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.4906, allocations: 4 kB / 0.7818 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002314/0.4908, allocations: 283.1 kB / 0.782 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4908, allocations: 0 / 0.782 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003688/0.4912, allocations: 115.7 kB / 0.7822 GB, free: 1.652 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.001178/0.4924, allocations: 1.243 MB / 0.7834 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.4928, allocations: 289.9 kB / 0.7836 GB, free: 92 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4929, allocations: 4 kB / 0.7836 GB, free: 88 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.4931, allocations: 143.9 kB / 0.7838 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009129/0.494, allocations: 217.4 kB / 0.784 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.498, allocations: 3.969 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4983, allocations: 0.8275 MB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.4986, allocations: 103.4 kB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.4987, allocations: 139.4 kB / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.4987, allocations: 0 / 0.7889 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/1.9, allocations: 11.07 MB / 0.7997 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/1.9, allocations: 255.1 kB / 0.8 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/4.634, allocations: 3.938 kB / 0.8 GB, free: 15.43 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)