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.001229/0.001229, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001009/0.001009, allocations: 193.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.135/2.135, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.475/1.475, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002871, allocations: 75.94 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3131, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8284/1.142, allocations: 177 MB / 0.7569 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01888/1.161, allocations: 7.767 MB / 0.7644 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/1.163, allocations: 15.88 kB / 0.7645 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/1.164, allocations: 206.8 kB / 0.7647 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006944/1.171, allocations: 1.144 MB / 0.7658 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00368/1.175, allocations: 0.6696 MB / 0.7664 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002633/1.178, allocations: 1.083 MB / 0.7675 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.179, allocations: 394.8 kB / 0.7679 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/1.184, allocations: 0.8254 MB / 0.7687 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/1.185, allocations: 458.4 kB / 0.7691 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/1.186, allocations: 40 kB / 0.7691 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.189, allocations: 0.9897 MB / 0.7701 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/1.19, allocations: 159.5 kB / 0.7703 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005999/1.19, allocations: 242.8 kB / 0.7705 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/1.193, allocations: 0.9893 MB / 0.7715 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.193, allocations: 0 / 0.7715 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.524e-06/1.193, allocations: 0 / 0.7715 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.083e-05/1.193, allocations: 0 / 0.7715 GB, free: 13.29 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.002308/1.196, allocations: 0.8143 MB / 0.7723 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/1.196, allocations: 8.031 kB / 0.7723 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/1.196, allocations: 74.53 kB / 0.7723 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/1.198, allocations: 159.2 kB / 0.7725 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009499/1.199, allocations: 379.3 kB / 0.7728 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/1.199, allocations: 29 kB / 0.7729 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.199, allocations: 36 kB / 0.7729 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/1.2, allocations: 454.4 kB / 0.7733 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.2, allocations: 3.938 kB / 0.7733 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/1.2, allocations: 15.94 kB / 0.7734 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/1.2, allocations: 8 kB / 0.7734 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/1.202, allocations: 319.8 kB / 0.7737 GB, free: 10.91 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.003759/1.205, allocations: 2.012 MB / 0.7756 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/1.206, allocations: 234.4 kB / 0.7759 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/1.207, allocations: 160.8 kB / 0.776 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/1.208, allocations: 311.2 kB / 0.7763 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.208, allocations: 30.56 kB / 0.7763 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 3.908e-06/1.208, allocations: 4 kB / 0.7763 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001877/1.21, allocations: 448 kB / 0.7768 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/1.21, allocations: 63.2 kB / 0.7768 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/1.21, allocations: 394 kB / 0.7772 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/1.211, allocations: 33.7 kB / 0.7772 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/1.211, allocations: 236.2 kB / 0.7775 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/1.211, allocations: 78.83 kB / 0.7775 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/1.211, allocations: 57.69 kB / 0.7776 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002195/1.211, allocations: 350.7 kB / 0.7779 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/1.212, allocations: 111.9 kB / 0.778 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/1.212, allocations: 183.3 kB / 0.7782 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009011/1.213, allocations: 310.3 kB / 0.7785 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.213, allocations: 0 / 0.7785 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001168/1.215, allocations: 361 kB / 0.7788 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.215, allocations: 14.19 kB / 0.7789 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.215, allocations: 0 / 0.7789 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.215, allocations: 4 kB / 0.7789 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/1.215, allocations: 62.97 kB / 0.7789 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.215, allocations: 4 kB / 0.7789 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/1.216, allocations: 55.5 kB / 0.779 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/1.216, allocations: 12 kB / 0.779 GB, free: 5.109 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.000323/1.216, allocations: 170.8 kB / 0.7792 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/1.216, allocations: 43.53 kB / 0.7792 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.218, allocations: 364.5 kB / 0.7795 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.218, allocations: 0 / 0.7795 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.218, allocations: 0 / 0.7795 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.218, allocations: 8 kB / 0.7796 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/1.22, allocations: 0.9378 MB / 0.7805 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.22, allocations: 0 / 0.7805 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/1.221, allocations: 47.91 kB / 0.7805 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/1.221, allocations: 4 kB / 0.7805 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/1.221, allocations: 15.88 kB / 0.7805 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/1.221, allocations: 10.69 kB / 0.7805 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.221, allocations: 0 / 0.7805 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/1.223, allocations: 0.6412 MB / 0.7812 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/1.223, allocations: 140.5 kB / 0.7813 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.223, allocations: 8 kB / 0.7813 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/1.224, allocations: 23.97 kB / 0.7813 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.224, allocations: 24.05 kB / 0.7814 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/1.224, allocations: 11.98 kB / 0.7814 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000525/1.224, allocations: 279.1 kB / 0.7816 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.5e-07/1.224, allocations: 0 / 0.7816 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000934/1.225, allocations: 119.7 kB / 0.7818 GB, free: 2.141 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.002566/1.228, allocations: 1.24 MB / 0.783 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.229, allocations: 302.7 kB / 0.7832 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.229, allocations: 0 / 0.7832 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004871/1.229, allocations: 148.4 kB / 0.7834 GB, free: 440 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.232, allocations: 224.7 kB / 0.7836 GB, free: 236 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/1.241, allocations: 3.969 MB / 0.7875 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/1.242, allocations: 0.8272 MB / 0.7883 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007151/1.242, allocations: 103.3 kB / 0.7884 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/1.243, allocations: 139.4 kB / 0.7885 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/1.243, allocations: 3.938 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9349/2.178, allocations: 11.38 MB / 0.7996 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/2.178, allocations: 248.6 kB / 0.7999 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/5.697, allocations: 0 / 0.7999 GB, free: 15.64 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)