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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 109.7 kB / 17.12 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.967/0.967, allocations: 150 MB / 459.5 MB, free: 5.301 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 81.81 kB / 0.6361 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1542, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.5769/0.731, allocations: 166.6 MB / 0.8859 GB, free: 2.906 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00468/0.7357, allocations: 4.623 MB / 0.8904 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.7361, allocations: 11.88 kB / 0.8904 GB, free: 2.828 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.7365, allocations: 127.8 kB / 0.8906 GB, free: 2.824 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.7376, allocations: 0.569 MB / 0.8911 GB, free: 2.797 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.7393, allocations: 0.7792 MB / 0.8919 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.7399, allocations: 0.5651 MB / 0.8924 GB, free: 2.762 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.7402, allocations: 183.1 kB / 0.8926 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.7417, allocations: 0.6889 MB / 0.8933 GB, free: 2.734 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/0.7423, allocations: 308 kB / 0.8936 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.7424, allocations: 18.38 kB / 0.8936 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.7441, allocations: 1.084 MB / 0.8946 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.7442, allocations: 88.86 kB / 0.8947 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.7443, allocations: 123.9 kB / 0.8948 GB, free: 2.719 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.7452, allocations: 0.716 MB / 0.8955 GB, free: 2.684 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7452, allocations: 0 / 0.8955 GB, free: 2.684 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7452, allocations: 0 / 0.8955 GB, free: 2.684 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.7452, allocations: 5.031 kB / 0.8956 GB, free: 2.68 MB / 0.67 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.0009813/0.7462, allocations: 0.6058 MB / 0.8961 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.7462, allocations: 10.03 kB / 0.8962 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.7463, allocations: 51.75 kB / 0.8962 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/0.7469, allocations: 79.7 kB / 0.8963 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.7472, allocations: 302.5 kB / 0.8966 GB, free: 17.92 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.7473, allocations: 16.25 kB / 0.8966 GB, free: 17.92 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.7473, allocations: 16.44 kB / 0.8966 GB, free: 17.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.7477, allocations: 285.6 kB / 0.8969 GB, free: 17.83 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.7477, allocations: 3.938 kB / 0.8969 GB, free: 17.82 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.7478, allocations: 12.59 kB / 0.8969 GB, free: 17.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7478, allocations: 4.5 kB / 0.8969 GB, free: 17.82 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.7481, allocations: 205 kB / 0.8971 GB, free: 17.82 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.7496, allocations: 1.246 MB / 0.8983 GB, free: 16.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.7498, allocations: 167.6 kB / 0.8985 GB, free: 16.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.75, allocations: 111.4 kB / 0.8986 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.7507, allocations: 336.7 kB / 0.8989 GB, free: 16.53 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.7507, allocations: 41.41 kB / 0.8989 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.7507, allocations: 0 / 0.8989 GB, free: 16.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0006968/0.7514, allocations: 284.3 kB / 0.8992 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.7515, allocations: 160.9 kB / 0.8994 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.7517, allocations: 288 kB / 0.8996 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.7517, allocations: 29.52 kB / 0.8997 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.7518, allocations: 148.8 kB / 0.8998 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.7519, allocations: 49.78 kB / 0.8998 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.7519, allocations: 46.88 kB / 0.8999 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7521, allocations: 335.8 kB / 0.9002 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.7522, allocations: 70.64 kB / 0.9003 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.7524, allocations: 146.8 kB / 0.9004 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.7527, allocations: 212.8 kB / 0.9006 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7527, allocations: 2.594 kB / 0.9006 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004736/0.7532, allocations: 248.8 kB / 0.9009 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7532, allocations: 6.375 kB / 0.9009 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7532, allocations: 1.375 kB / 0.9009 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7532, allocations: 3.188 kB / 0.9009 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.7534, allocations: 42.44 kB / 0.9009 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7534, allocations: 5.781 kB / 0.9009 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.7536, allocations: 29.94 kB / 0.9009 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.7536, allocations: 15.86 kB / 0.901 GB, free: 15.43 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.7538, allocations: 153.1 kB / 0.9011 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.7539, allocations: 24.92 kB / 0.9011 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.7543, allocations: 195.1 kB / 0.9013 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.7543, allocations: 4.328 kB / 0.9013 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7544, allocations: 5.438 kB / 0.9013 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7544, allocations: 0 / 0.9013 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009261/0.7553, allocations: 0.8528 MB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7553, allocations: 1.375 kB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.7554, allocations: 26.83 kB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7554, allocations: 1.375 kB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.7554, allocations: 6.375 kB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7554, allocations: 1.375 kB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7554, allocations: 2.906 kB / 0.9022 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.756, allocations: 348.9 kB / 0.9025 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.7561, allocations: 109.6 kB / 0.9026 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.7561, allocations: 9.875 kB / 0.9026 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.7563, allocations: 6.703 kB / 0.9027 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.7563, allocations: 12.31 kB / 0.9027 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.7563, allocations: 4.125 kB / 0.9027 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002199/0.7565, allocations: 236.9 kB / 0.9029 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7565, allocations: 64 / 0.9029 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004754/0.757, allocations: 98.78 kB / 0.903 GB, free: 14.17 MB / 0.6856 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 (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.001172/0.7582, allocations: 0.9786 MB / 0.9039 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003754/0.7585, allocations: 150.6 kB / 0.9041 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7586, allocations: 0 / 0.9041 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.7587, allocations: 59.92 kB / 0.9041 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.7594, allocations: 147.1 kB / 0.9043 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.7625, allocations: 2.762 MB / 0.907 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.7629, allocations: 0.7561 MB / 0.9077 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001947/0.7631, allocations: 69.75 kB / 0.9078 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.7632, allocations: 81.7 kB / 0.9079 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.7632, allocations: 0 / 0.9079 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.7967, allocations: 8.594 MB / 0.9163 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/9.128, allocations: 4.062 kB / 0.9163 GB, free: 10.26 MB / 0.6856 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.977734660962597] Failed to read output from testmodel.py, exit status != 0: 9.199941735016182 9.212731655 8.465001249 Calling exit ...