Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",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.001415/0.001415, allocations: 95.88 kB / 15.68 MB, free: 488 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.001883/0.001884, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.391/2.391, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.171/1.171, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004852, allocations: 8.5 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.299, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.8253/1.124, allocations: 136.9 MB / 0.6905 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009629/1.134, allocations: 3.571 MB / 0.6939 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007027/1.135, allocations: 7.938 kB / 0.694 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/1.136, allocations: 159.3 kB / 0.6941 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/1.138, allocations: 366.9 kB / 0.6945 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/1.142, allocations: 0.5665 MB / 0.695 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001222/1.143, allocations: 347.7 kB / 0.6953 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007082/1.144, allocations: 167.3 kB / 0.6955 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/1.145, allocations: 331 kB / 0.6958 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/1.147, allocations: 219.3 kB / 0.696 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/1.147, allocations: 8 kB / 0.696 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/1.149, allocations: 439.3 kB / 0.6964 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/1.149, allocations: 79.78 kB / 0.6965 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/1.149, allocations: 69.58 kB / 0.6966 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/1.151, allocations: 348 kB / 0.6969 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.151, allocations: 0 / 0.6969 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.386e-06/1.151, allocations: 4 kB / 0.6969 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.679e-05/1.151, allocations: 0 / 0.6969 GB, free: 10.59 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00169/1.153, allocations: 0.5421 MB / 0.6975 GB, free: 10 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.313e-05/1.153, allocations: 8.031 kB / 0.6975 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/1.153, allocations: 51.23 kB / 0.6975 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/1.155, allocations: 79.55 kB / 0.6976 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/1.155, allocations: 275.5 kB / 0.6979 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/1.155, allocations: 16 kB / 0.6979 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/1.155, allocations: 23.95 kB / 0.6979 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/1.156, allocations: 291.4 kB / 0.6982 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/1.156, allocations: 0 / 0.6982 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/1.156, allocations: 8 kB / 0.6982 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/1.156, allocations: 6.188 kB / 0.6982 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/1.157, allocations: 219.5 kB / 0.6984 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/1.16, allocations: 1.261 MB / 0.6996 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/1.161, allocations: 189 kB / 0.6998 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/1.161, allocations: 141 kB / 0.6999 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/1.161, allocations: 38.69 kB / 0.7 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 3.417e-06/1.161, allocations: 0 / 0.7 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001474/1.163, allocations: 333.4 kB / 0.7003 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/1.163, allocations: 162.2 kB / 0.7004 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/1.164, allocations: 290.9 kB / 0.7007 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.105e-05/1.164, allocations: 29.7 kB / 0.7008 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/1.164, allocations: 143.9 kB / 0.7009 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/1.164, allocations: 43.3 kB / 0.7009 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/1.164, allocations: 8 kB / 0.7009 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002431/1.164, allocations: 338.8 kB / 0.7013 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/1.165, allocations: 79.94 kB / 0.7013 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/1.165, allocations: 166.3 kB / 0.7015 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/1.165, allocations: 99.94 kB / 0.7016 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.165, allocations: 0 / 0.7016 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001112/1.167, allocations: 277.2 kB / 0.7019 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.167, allocations: 11.94 kB / 0.7019 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.167, allocations: 0 / 0.7019 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.167, allocations: 4 kB / 0.7019 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.167, allocations: 43.91 kB / 0.7019 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/1.167, allocations: 4 kB / 0.7019 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/1.168, allocations: 40.19 kB / 0.702 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/1.168, allocations: 12 kB / 0.702 GB, free: 5.055 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002889/1.168, allocations: 154.4 kB / 0.7021 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/1.168, allocations: 27.66 kB / 0.7021 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/1.169, allocations: 228.1 kB / 0.7024 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.169, allocations: 3.938 kB / 0.7024 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.169, allocations: 8.875 kB / 0.7024 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.169, allocations: 0 / 0.7024 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/1.172, allocations: 0.9174 MB / 0.7033 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.172, allocations: 3.984 kB / 0.7033 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/1.172, allocations: 35.92 kB / 0.7033 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.172, allocations: 0 / 0.7033 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/1.172, allocations: 8.828 kB / 0.7033 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/1.172, allocations: 4 kB / 0.7033 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/1.172, allocations: 160 / 0.7033 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.173, allocations: 491.9 kB / 0.7038 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/1.174, allocations: 116.8 kB / 0.7039 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/1.174, allocations: 0 / 0.7039 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/1.174, allocations: 19.98 kB / 0.7039 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/1.174, allocations: 15.94 kB / 0.7039 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/1.174, allocations: 7.938 kB / 0.7039 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000424/1.175, allocations: 221.9 kB / 0.7042 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.9e-07/1.175, allocations: 8 kB / 0.7042 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000878/1.176, allocations: 95.84 kB / 0.7043 GB, free: 2.543 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/1.178, allocations: 1.458 MB / 0.7057 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008133/1.179, allocations: 187.8 kB / 0.7059 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.179, allocations: 0 / 0.7059 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/1.179, allocations: 96.69 kB / 0.7059 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.181, allocations: 127.6 kB / 0.7061 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/1.186, allocations: 2.83 MB / 0.7088 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/1.187, allocations: 0.7599 MB / 0.7096 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005427/1.188, allocations: 79.41 kB / 0.7096 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/1.188, allocations: 75.41 kB / 0.7097 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/1.188, allocations: 0 / 0.7097 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/1.236, allocations: 8.073 MB / 0.7176 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004284/1.237, allocations: 216.1 kB / 0.7178 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/4.538, allocations: 0 / 0.7178 GB, free: 4.66 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: