Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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.001312/0.001312, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001756/0.001756, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.388/1.388, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00232/0.00232, allocations: 276.4 kB / 309.8 MB, free: 3.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.034/1.034, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002824/0.002824, allocations: 105.7 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.5001, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2056/0.7057, allocations: 172.9 MB / 0.9966 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008567/0.7142, allocations: 7.198 MB / 1.004 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.7146, allocations: 15.88 kB / 1.004 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.7151, allocations: 170.7 kB / 1.004 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.718, allocations: 1.303 MB / 1.005 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.7195, allocations: 0.6478 MB / 1.006 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008932/0.7204, allocations: 0.7564 MB / 1.007 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.7208, allocations: 246.7 kB / 1.007 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.7218, allocations: 0.5994 MB / 1.007 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007223/0.7226, allocations: 462.4 kB / 1.008 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.7226, allocations: 24 kB / 1.008 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.7246, allocations: 1.337 MB / 1.009 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.7248, allocations: 119.6 kB / 1.009 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.7249, allocations: 171.2 kB / 1.009 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.7262, allocations: 0.915 MB / 1.01 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7262, allocations: 0 / 1.01 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7262, allocations: 0 / 1.01 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.7262, allocations: 3.984 kB / 1.01 GB, free: 14.65 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001004/0.7272, allocations: 0.7081 MB / 1.011 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7272, allocations: 12.03 kB / 1.011 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.638e-05/0.7272, allocations: 8.562 kB / 1.011 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.788e-05/0.7273, allocations: 66.53 kB / 1.011 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.7283, allocations: 127.6 kB / 1.011 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.7288, allocations: 345.4 kB / 1.011 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/0.7289, allocations: 54.25 kB / 1.012 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.7289, allocations: 28 kB / 1.012 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.7296, allocations: 370.1 kB / 1.012 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.7296, allocations: 0 / 1.012 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.7296, allocations: 12 kB / 1.012 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.7297, allocations: 11.94 kB / 1.012 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.7302, allocations: 270 kB / 1.012 GB, free: 12.55 MB / 0.7481 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.001903/0.7321, allocations: 1.488 MB / 1.014 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.7325, allocations: 190.5 kB / 1.014 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.7327, allocations: 108.8 kB / 1.014 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009373/0.7337, allocations: 0.5053 MB / 1.014 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.7337, allocations: 34.56 kB / 1.014 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.7337, allocations: 0 / 1.014 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0009461/0.7346, allocations: 361.2 kB / 1.015 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.7347, allocations: 51.41 kB / 1.015 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.735, allocations: 316.5 kB / 1.015 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.7351, allocations: 33.64 kB / 1.015 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.7352, allocations: 196.2 kB / 1.015 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.7352, allocations: 47.53 kB / 1.015 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.7353, allocations: 45.7 kB / 1.015 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7355, allocations: 338.8 kB / 1.016 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.7357, allocations: 91.92 kB / 1.016 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.736, allocations: 148 kB / 1.016 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.7364, allocations: 237.8 kB / 1.016 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.7364, allocations: 3.938 kB / 1.016 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005929/0.737, allocations: 285.2 kB / 1.017 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.737, allocations: 4.188 kB / 1.017 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.737, allocations: 4 kB / 1.017 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.737, allocations: 4 kB / 1.017 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.7373, allocations: 43.91 kB / 1.017 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7373, allocations: 4 kB / 1.017 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.7375, allocations: 31.77 kB / 1.017 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.7375, allocations: 12 kB / 1.017 GB, free: 7.676 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001569/0.7377, allocations: 153.7 kB / 1.017 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.7378, allocations: 31.81 kB / 1.017 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007179/0.7385, allocations: 318.8 kB / 1.017 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.7385, allocations: 4 kB / 1.017 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7385, allocations: 0 / 1.017 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7385, allocations: 4 kB / 1.017 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.7398, allocations: 0.7967 MB / 1.018 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7398, allocations: 4 kB / 1.018 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.74, allocations: 40.14 kB / 1.018 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.74, allocations: 7.938 kB / 1.018 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.7401, allocations: 7.984 kB / 1.018 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7401, allocations: 4 kB / 1.018 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7401, allocations: 0 / 1.018 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.7407, allocations: 409.1 kB / 1.018 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.7408, allocations: 140.8 kB / 1.018 GB, free: 5.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.7409, allocations: 3.984 kB / 1.018 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.7411, allocations: 12 kB / 1.018 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.7412, allocations: 24 kB / 1.019 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.7412, allocations: 15.94 kB / 1.019 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002247/0.7414, allocations: 227 kB / 1.019 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.7414, allocations: 0 / 1.019 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004983/0.7419, allocations: 123.8 kB / 1.019 GB, free: 5.234 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.001285/0.7432, allocations: 1.058 MB / 1.02 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.7437, allocations: 215.7 kB / 1.02 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7437, allocations: 0 / 1.02 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.744, allocations: 116.5 kB / 1.02 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.7448, allocations: 149 kB / 1.02 GB, free: 3.66 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.7488, allocations: 3.07 MB / 1.023 GB, free: 440 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.7493, allocations: 0.7872 MB / 1.024 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.7495, allocations: 86.8 kB / 1.024 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.7497, allocations: 107.4 kB / 1.024 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of SimCode: time 2.9e-07/0.7497, allocations: 0 / 1.024 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.7789, allocations: 10.58 MB / 1.035 GB, free: 5.062 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/9.129, allocations: 10.62 kB / 1.035 GB, free: 5.055 MB / 0.7637 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.892894637014251] Failed to read output from testmodel.py, exit status != 0: 9.253801909973845 9.267733696 8.538695211 Calling exit ...