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.0009779/0.0009779, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007546/0.007546, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9294/0.9294, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4553/0.5924, allocations: 174.8 MB / 0.7588 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009969/0.6024, allocations: 7.748 MB / 0.7664 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006215/0.6031, allocations: 19.81 kB / 0.7664 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.6037, allocations: 190.8 kB / 0.7666 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002887/0.6066, allocations: 1.14 MB / 0.7677 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.6083, allocations: 0.6713 MB / 0.7683 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.6098, allocations: 1.54 MB / 0.7698 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.6104, allocations: 351.3 kB / 0.7702 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.6127, allocations: 0.7487 MB / 0.7709 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.6133, allocations: 442.3 kB / 0.7713 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.6133, allocations: 24 kB / 0.7714 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.6149, allocations: 1.083 MB / 0.7724 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.6151, allocations: 155.5 kB / 0.7726 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.6153, allocations: 244.5 kB / 0.7728 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.6166, allocations: 0.9658 MB / 0.7737 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6166, allocations: 3.938 kB / 0.7737 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6166, allocations: 0 / 0.7737 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.6166, allocations: 0 / 0.7737 GB, free: 14.28 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.0009883/0.6176, allocations: 0.7286 MB / 0.7745 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6176, allocations: 8.031 kB / 0.7745 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.439e-05/0.6177, allocations: 78.53 kB / 0.7745 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008771/0.6186, allocations: 151.3 kB / 0.7747 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.6191, allocations: 375.4 kB / 0.775 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.6191, allocations: 29 kB / 0.7751 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.6192, allocations: 40 kB / 0.7751 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.6199, allocations: 464.4 kB / 0.7755 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.6199, allocations: 4 kB / 0.7756 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.6199, allocations: 16 kB / 0.7756 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.6199, allocations: 8 kB / 0.7756 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.6205, allocations: 331.8 kB / 0.7759 GB, free: 11.96 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.001975/0.6225, allocations: 2.019 MB / 0.7779 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.6229, allocations: 248.8 kB / 0.7781 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.6232, allocations: 152.8 kB / 0.7782 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.6237, allocations: 319.2 kB / 0.7785 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.6238, allocations: 38.5 kB / 0.7786 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.6238, allocations: 0 / 0.7786 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001006/0.6248, allocations: 472 kB / 0.779 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.6248, allocations: 63.2 kB / 0.7791 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.6252, allocations: 397.9 kB / 0.7795 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.6253, allocations: 25.7 kB / 0.7795 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6254, allocations: 228.3 kB / 0.7797 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.16e-05/0.6255, allocations: 90.73 kB / 0.7798 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.6255, allocations: 25.72 kB / 0.7798 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6257, allocations: 354.7 kB / 0.7802 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.6259, allocations: 123.9 kB / 0.7803 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.6262, allocations: 179.3 kB / 0.7805 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.6267, allocations: 321.9 kB / 0.7808 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6267, allocations: 0 / 0.7808 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006138/0.6273, allocations: 372.7 kB / 0.7811 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6274, allocations: 9.875 kB / 0.7811 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.6274, allocations: 0 / 0.7811 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6274, allocations: 4 kB / 0.7811 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.6276, allocations: 68.12 kB / 0.7812 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6277, allocations: 4 kB / 0.7812 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.6279, allocations: 55.5 kB / 0.7813 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.628, allocations: 19.94 kB / 0.7813 GB, free: 6.102 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.000171/0.6282, allocations: 166.8 kB / 0.7814 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.6282, allocations: 39.53 kB / 0.7815 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.6289, allocations: 376.6 kB / 0.7818 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6289, allocations: 4 kB / 0.7818 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6289, allocations: 0 / 0.7818 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6289, allocations: 3.984 kB / 0.7818 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.6302, allocations: 0.9487 MB / 0.7828 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6303, allocations: 7.938 kB / 0.7828 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.6305, allocations: 47.92 kB / 0.7828 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.6305, allocations: 8.203 kB / 0.7828 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.6305, allocations: 8 kB / 0.7828 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.6305, allocations: 4 kB / 0.7828 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6305, allocations: 0 / 0.7828 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.6314, allocations: 0.6489 MB / 0.7835 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.6316, allocations: 148.6 kB / 0.7836 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.6316, allocations: 7.938 kB / 0.7836 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6319, allocations: 27.97 kB / 0.7836 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.6319, allocations: 20.05 kB / 0.7837 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.632, allocations: 8 kB / 0.7837 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002625/0.6322, allocations: 291.1 kB / 0.7839 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6322, allocations: 3.938 kB / 0.784 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003823/0.6326, allocations: 103.8 kB / 0.7841 GB, free: 3.109 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.001334/0.634, allocations: 1.267 MB / 0.7853 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.6345, allocations: 295.6 kB / 0.7856 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6345, allocations: 0 / 0.7856 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002608/0.6348, allocations: 162.7 kB / 0.7857 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6359, allocations: 203.4 kB / 0.7859 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.6403, allocations: 4.025 MB / 0.7899 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.6407, allocations: 0.843 MB / 0.7907 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.641, allocations: 100.1 kB / 0.7908 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.6412, allocations: 135.4 kB / 0.7909 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6412, allocations: 3.938 kB / 0.7909 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3849/1.026, allocations: 10.92 MB / 0.8016 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.026, allocations: 246.4 kB / 0.8018 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.131, allocations: 0 / 0.8018 GB, free: 0.9883 MB / 0.6075 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)