Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001804/0.001804, allocations: 102.7 kB / 16.4 MB, free: 6.508 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.001871/0.001872, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7287/0.7287, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 71.75 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 76.17 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5561/0.7073, allocations: 161.3 MB / 0.7892 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.7123, allocations: 4.546 MB / 0.7936 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/0.7128, allocations: 10.81 kB / 0.7936 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.7134, allocations: 128.2 kB / 0.7937 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008159/0.7142, allocations: 329.5 kB / 0.794 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.715, allocations: 277.5 kB / 0.7943 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.7156, allocations: 0.5593 MB / 0.7949 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.716, allocations: 212.3 kB / 0.7951 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/0.7169, allocations: 460.9 kB / 0.7955 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.7171, allocations: 189.2 kB / 0.7957 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.7172, allocations: 15.78 kB / 0.7957 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.7173, allocations: 81.61 kB / 0.7958 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.7174, allocations: 92.2 kB / 0.7959 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.7176, allocations: 116.5 kB / 0.796 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.7179, allocations: 295.9 kB / 0.7962 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7179, allocations: 0 / 0.7962 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7179, allocations: 0 / 0.7962 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.7179, allocations: 1.094 kB / 0.7962 GB, free: 12.44 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007866/0.7187, allocations: 0.5371 MB / 0.7968 GB, free: 12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.7188, allocations: 10.62 kB / 0.7968 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.7188, allocations: 51.39 kB / 0.7968 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.7189, allocations: 32.38 kB / 0.7969 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.7193, allocations: 280.8 kB / 0.7971 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.7193, allocations: 22.84 kB / 0.7972 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.7193, allocations: 16.03 kB / 0.7972 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.7197, allocations: 263.9 kB / 0.7974 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.7198, allocations: 0 / 0.7974 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.7198, allocations: 10.86 kB / 0.7974 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7198, allocations: 4.688 kB / 0.7974 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.7201, allocations: 144.4 kB / 0.7976 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.7213, allocations: 1.38 MB / 0.7989 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.7216, allocations: 181.2 kB / 0.7991 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.7217, allocations: 88.19 kB / 0.7992 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003186/0.7221, allocations: 120.2 kB / 0.7993 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.7221, allocations: 47.16 kB / 0.7993 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.7221, allocations: 4 kB / 0.7993 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005686/0.7227, allocations: 200.8 kB / 0.7995 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.7228, allocations: 189.8 kB / 0.7997 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.7231, allocations: 287 kB / 0.8 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.7231, allocations: 37.14 kB / 0.8 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.7232, allocations: 147.4 kB / 0.8002 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.7232, allocations: 37.92 kB / 0.8002 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.7233, allocations: 37.28 kB / 0.8002 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7234, allocations: 329.8 kB / 0.8005 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.7235, allocations: 43.56 kB / 0.8006 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.7237, allocations: 128.2 kB / 0.8007 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.724, allocations: 152.5 kB / 0.8009 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.724, allocations: 0 / 0.8009 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003306/0.7244, allocations: 194.1 kB / 0.801 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7244, allocations: 10.38 kB / 0.8011 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7244, allocations: 2.75 kB / 0.8011 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7244, allocations: 2.625 kB / 0.8011 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.7245, allocations: 36.95 kB / 0.8011 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7246, allocations: 2.875 kB / 0.8011 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.7247, allocations: 27 kB / 0.8011 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.7247, allocations: 11.66 kB / 0.8011 GB, free: 9.035 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 (15): * Single equations (assignments): 15 * 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.0001173/0.7249, allocations: 144.1 kB / 0.8013 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.725, allocations: 31.08 kB / 0.8013 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.7253, allocations: 130.6 kB / 0.8014 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7253, allocations: 3.734 kB / 0.8014 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.7253, allocations: 6.938 kB / 0.8014 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7253, allocations: 0 / 0.8014 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.7261, allocations: 0.7778 MB / 0.8022 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7261, allocations: 2.562 kB / 0.8022 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7262, allocations: 22.92 kB / 0.8022 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7263, allocations: 0 / 0.8022 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.7263, allocations: 5.609 kB / 0.8022 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7263, allocations: 6.25 kB / 0.8022 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7263, allocations: 2.594 kB / 0.8022 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.7268, allocations: 343.8 kB / 0.8026 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.7269, allocations: 107.3 kB / 0.8027 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.7269, allocations: 7.844 kB / 0.8027 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.727, allocations: 4.859 kB / 0.8027 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.7271, allocations: 17.14 kB / 0.8027 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.7271, allocations: 4.812 kB / 0.8027 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001589/0.7273, allocations: 217.4 kB / 0.8029 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7273, allocations: 0 / 0.8029 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003204/0.7276, allocations: 59.97 kB / 0.803 GB, free: 7.789 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.0008904/0.7285, allocations: 0.9147 MB / 0.8039 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7288, allocations: 123.5 kB / 0.804 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7288, allocations: 0 / 0.804 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.729, allocations: 55.31 kB / 0.804 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.7297, allocations: 138.4 kB / 0.8042 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.7325, allocations: 2.608 MB / 0.8067 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.7328, allocations: 0.7573 MB / 0.8074 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.733, allocations: 49.5 kB / 0.8075 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.7331, allocations: 68.08 kB / 0.8076 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.7331, allocations: 1.203 kB / 0.8076 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.7577, allocations: 6.963 MB / 0.8144 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.503, allocations: 10.81 kB / 0.8144 GB, free: 1.387 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)