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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9193/0.9193, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.2 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 80.92 MB / 0.5845 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.3806/0.515, allocations: 179.4 MB / 0.7596 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009076/0.5241, allocations: 7.818 MB / 0.7673 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.5248, allocations: 19.88 kB / 0.7673 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.5255, allocations: 246.2 kB / 0.7675 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/0.5284, allocations: 1.225 MB / 0.7687 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.53, allocations: 0.7252 MB / 0.7694 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.5312, allocations: 1.076 MB / 0.7705 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.5318, allocations: 416.4 kB / 0.7709 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.5339, allocations: 0.8296 MB / 0.7717 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006425/0.5345, allocations: 430.5 kB / 0.7721 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.827e-05/0.5346, allocations: 44 kB / 0.7721 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.5362, allocations: 0.9431 MB / 0.7731 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.5364, allocations: 163.6 kB / 0.7732 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.5368, allocations: 246.8 kB / 0.7735 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.5384, allocations: 0.9272 MB / 0.7744 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5385, allocations: 0 / 0.7744 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5385, allocations: 0 / 0.7744 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.5385, allocations: 4 kB / 0.7744 GB, free: 10.47 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.001306/0.5398, allocations: 0.8064 MB / 0.7752 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5399, allocations: 8.031 kB / 0.7752 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.005e-05/0.5399, allocations: 78.52 kB / 0.7752 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009562/0.5409, allocations: 151.2 kB / 0.7754 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.5415, allocations: 383.3 kB / 0.7758 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.5416, allocations: 29 kB / 0.7758 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.5416, allocations: 40 kB / 0.7758 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.5424, allocations: 446.4 kB / 0.7762 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5424, allocations: 3.938 kB / 0.7762 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.5424, allocations: 16 kB / 0.7763 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5424, allocations: 12 kB / 0.7763 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.543, allocations: 315.8 kB / 0.7766 GB, free: 8.098 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.002029/0.5451, allocations: 2.021 MB / 0.7785 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003928/0.5455, allocations: 246.4 kB / 0.7788 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.5457, allocations: 145.8 kB / 0.7789 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.5463, allocations: 311.2 kB / 0.7792 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.5463, allocations: 38.56 kB / 0.7793 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.5464, allocations: 0 / 0.7793 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001002/0.5474, allocations: 449.5 kB / 0.7797 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.5474, allocations: 59.2 kB / 0.7797 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.5478, allocations: 402 kB / 0.7801 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5478, allocations: 25.7 kB / 0.7801 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.548, allocations: 240.1 kB / 0.7804 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.5481, allocations: 86.73 kB / 0.7805 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.5482, allocations: 53.7 kB / 0.7805 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5483, allocations: 358.7 kB / 0.7809 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.5485, allocations: 107.9 kB / 0.781 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.5488, allocations: 188.1 kB / 0.7811 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.5493, allocations: 306.5 kB / 0.7814 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5493, allocations: 4 kB / 0.7814 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006314/0.5499, allocations: 364.8 kB / 0.7818 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.55, allocations: 4 kB / 0.7818 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.55, allocations: 4.75 kB / 0.7818 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.55, allocations: 0 / 0.7818 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.5503, allocations: 59.91 kB / 0.7818 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5503, allocations: 0 / 0.7818 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.5505, allocations: 43.52 kB / 0.7819 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.5506, allocations: 24.2 kB / 0.7819 GB, free: 2.277 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.000159/0.5508, allocations: 165.7 kB / 0.7821 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.5508, allocations: 40.41 kB / 0.7821 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.5515, allocations: 362.5 kB / 0.7825 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5516, allocations: 4 kB / 0.7825 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5516, allocations: 0 / 0.7825 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5516, allocations: 4 kB / 0.7825 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.5529, allocations: 0.9429 MB / 0.7834 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.5529, allocations: 8 kB / 0.7834 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.5532, allocations: 51.91 kB / 0.7834 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5532, allocations: 4 kB / 0.7834 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.5532, allocations: 8 kB / 0.7834 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5532, allocations: 7.938 kB / 0.7835 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5532, allocations: 3.984 kB / 0.7835 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008899/0.5541, allocations: 0.6334 MB / 0.7841 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.5543, allocations: 148.6 kB / 0.7842 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.5543, allocations: 8 kB / 0.7842 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.5546, allocations: 8 kB / 0.7842 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.5546, allocations: 19.97 kB / 0.7843 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.5547, allocations: 11.94 kB / 0.7843 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002539/0.5549, allocations: 279.1 kB / 0.7845 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5549, allocations: 64 / 0.7845 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004362/0.5554, allocations: 119.8 kB / 0.7846 GB, free: 15.33 MB / 0.6075 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.001339/0.5567, allocations: 1.244 MB / 0.7859 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005885/0.5573, allocations: 304.4 kB / 0.7862 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5573, allocations: 0 / 0.7862 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.5576, allocations: 148.7 kB / 0.7863 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5587, allocations: 227.7 kB / 0.7865 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.563, allocations: 3.835 MB / 0.7903 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.5634, allocations: 0.835 MB / 0.7911 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.5637, allocations: 95.41 kB / 0.7912 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.5639, allocations: 135.4 kB / 0.7913 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of SimCode: time 1.503e-06/0.5639, allocations: 0 / 0.7913 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5498/1.114, allocations: 11.57 MB / 0.8026 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.655, allocations: 3.781 kB / 0.8026 GB, free: 12.98 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)