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.007483/0.007483, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001725/0.001726, allocations: 188.4 kB / 16.67 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9541/0.9541, allocations: 135.6 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 71.89 kB / 0.5858 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4363, allocations: 81.02 MB / 0.6649 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2193/0.6556, allocations: 179.4 MB / 0.8401 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.6657, allocations: 7.84 MB / 0.8477 GB, free: 4.965 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.6664, allocations: 19.88 kB / 0.8478 GB, free: 4.945 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007494/0.6672, allocations: 246.2 kB / 0.848 GB, free: 4.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.6704, allocations: 1.225 MB / 0.8492 GB, free: 3.473 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.6724, allocations: 0.7288 MB / 0.8499 GB, free: 2.746 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.6738, allocations: 1.08 MB / 0.851 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.6744, allocations: 404.9 kB / 0.8513 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.677, allocations: 0.825 MB / 0.8521 GB, free: 460 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006874/0.6777, allocations: 438.4 kB / 0.8526 GB, free: 20 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.6778, allocations: 40.05 kB / 0.8526 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.6797, allocations: 0.947 MB / 0.8535 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.6799, allocations: 159.5 kB / 0.8537 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.6802, allocations: 246.8 kB / 0.8539 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.6819, allocations: 0.9397 MB / 0.8548 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6819, allocations: 0 / 0.8548 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.931e-06/0.6819, allocations: 3.938 kB / 0.8548 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.6819, allocations: 3.938 kB / 0.8548 GB, free: 13.68 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.001333/0.6833, allocations: 0.8212 MB / 0.8556 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.6833, allocations: 12.03 kB / 0.8557 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.6834, allocations: 74.53 kB / 0.8557 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000983/0.6844, allocations: 155.5 kB / 0.8559 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006561/0.6851, allocations: 407.6 kB / 0.8563 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.6851, allocations: 29 kB / 0.8563 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.6852, allocations: 39.94 kB / 0.8563 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.686, allocations: 458.3 kB / 0.8568 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.686, allocations: 0 / 0.8568 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.6861, allocations: 16 kB / 0.8568 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.6861, allocations: 8 kB / 0.8568 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.6867, allocations: 315.8 kB / 0.8571 GB, free: 11.26 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.002231/0.689, allocations: 2.02 MB / 0.8591 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.6894, allocations: 241.8 kB / 0.8593 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.6897, allocations: 152.8 kB / 0.8594 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005961/0.6903, allocations: 303.2 kB / 0.8597 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6904, allocations: 34.56 kB / 0.8598 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.6904, allocations: 4 kB / 0.8598 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001039/0.6914, allocations: 453.4 kB / 0.8602 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.6915, allocations: 59.39 kB / 0.8602 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.6919, allocations: 401.8 kB / 0.8606 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6919, allocations: 29.7 kB / 0.8607 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.6921, allocations: 232.6 kB / 0.8609 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/0.6922, allocations: 91.2 kB / 0.861 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.6923, allocations: 57.69 kB / 0.861 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6925, allocations: 354.8 kB / 0.8614 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.6927, allocations: 107.9 kB / 0.8615 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.6931, allocations: 184.1 kB / 0.8616 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.6936, allocations: 310.1 kB / 0.8619 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6936, allocations: 0 / 0.8619 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006618/0.6943, allocations: 373.1 kB / 0.8623 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6943, allocations: 8 kB / 0.8623 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.006e-06/0.6943, allocations: 4 kB / 0.8623 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.6943, allocations: 0 / 0.8623 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.6946, allocations: 63.91 kB / 0.8624 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.6946, allocations: 0 / 0.8624 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.6949, allocations: 43.7 kB / 0.8624 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.6949, allocations: 15.98 kB / 0.8624 GB, free: 5.438 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.0001896/0.6951, allocations: 178.2 kB / 0.8626 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.668e-05/0.6952, allocations: 39.77 kB / 0.8626 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007408/0.6959, allocations: 361 kB / 0.863 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.696, allocations: 4 kB / 0.863 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.696, allocations: 0 / 0.863 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.696, allocations: 3.938 kB / 0.863 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.6974, allocations: 0.9431 MB / 0.8639 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6974, allocations: 4 kB / 0.8639 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.6977, allocations: 52.06 kB / 0.864 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6977, allocations: 8 kB / 0.864 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.6977, allocations: 8 kB / 0.864 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6977, allocations: 4 kB / 0.864 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.6978, allocations: 0 / 0.864 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009811/0.6987, allocations: 0.6374 MB / 0.8646 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.6989, allocations: 144.8 kB / 0.8647 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.699, allocations: 4 kB / 0.8647 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.6992, allocations: 19.98 kB / 0.8648 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.6993, allocations: 27.91 kB / 0.8648 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.6993, allocations: 8 kB / 0.8648 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003156/0.6996, allocations: 279.1 kB / 0.8651 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6996, allocations: 0 / 0.8651 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004498/0.7001, allocations: 115.8 kB / 0.8652 GB, free: 2.484 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.001606/0.7017, allocations: 1.24 MB / 0.8664 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000627/0.7023, allocations: 288.1 kB / 0.8667 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7023, allocations: 3.938 kB / 0.8667 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.7026, allocations: 147.7 kB / 0.8668 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.7037, allocations: 230.8 kB / 0.867 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3283/1.032, allocations: 3.796 MB / 0.8707 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/1.032, allocations: 0.8255 MB / 0.8715 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004023/1.033, allocations: 95.83 kB / 0.8716 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/1.033, allocations: 138.1 kB / 0.8718 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/1.033, allocations: 0 / 0.8718 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08186/1.115, allocations: 11.69 MB / 0.8832 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.665/10.78, allocations: 9.203 kB / 0.8832 GB, free: 187.2 MB / 0.6856 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)