Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001306/0.001306, allocations: 109 kB / 20.48 MB, free: 1.473 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.00153/0.00153, allocations: 209.6 kB / 23.79 MB, free: 4.684 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.401/1.401, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9247/0.9247, allocations: 150 MB / 464 MB, free: 10.52 MB / 366.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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",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.003277/0.003277, allocations: 66.72 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1906, allocations: 89.17 MB / 0.7291 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5765/0.767, allocations: 173.1 MB / 0.8982 GB, free: 10.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008834/0.7759, allocations: 7.223 MB / 0.9052 GB, free: 2.988 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.7764, allocations: 27.75 kB / 0.9053 GB, free: 2.961 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.777, allocations: 162.7 kB / 0.9054 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.7802, allocations: 1.338 MB / 0.9067 GB, free: 1.457 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.782, allocations: 0.6771 MB / 0.9074 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.783, allocations: 0.7602 MB / 0.9081 GB, free: 24 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.7834, allocations: 245.4 kB / 0.9084 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.785, allocations: 0.7435 MB / 0.9091 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.7859, allocations: 462.4 kB / 0.9095 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.7859, allocations: 24 kB / 0.9096 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.7882, allocations: 1.36 MB / 0.9109 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.7884, allocations: 119.6 kB / 0.911 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.7886, allocations: 171.2 kB / 0.9112 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.7901, allocations: 0.9148 MB / 0.9121 GB, free: 12 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7901, allocations: 0 / 0.9121 GB, free: 12 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.687e-06/0.7901, allocations: 3.984 kB / 0.9121 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7901, allocations: 4 kB / 0.9121 GB, free: 11.99 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001018/0.7911, allocations: 0.629 MB / 0.9127 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.7912, allocations: 8.031 kB / 0.9127 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.111e-05/0.7912, allocations: 17.28 kB / 0.9127 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.7913, allocations: 62.53 kB / 0.9128 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009624/0.7922, allocations: 135.6 kB / 0.9129 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.7927, allocations: 271.6 kB / 0.9131 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.7928, allocations: 76.05 kB / 0.9132 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.7929, allocations: 28.56 kB / 0.9132 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.7935, allocations: 367.3 kB / 0.9136 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7936, allocations: 7.875 kB / 0.9136 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.7936, allocations: 15.94 kB / 0.9136 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.7936, allocations: 8 kB / 0.9136 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.7941, allocations: 273.8 kB / 0.9139 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.796, allocations: 1.458 MB / 0.9153 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.7964, allocations: 179.8 kB / 0.9155 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.7967, allocations: 112.7 kB / 0.9156 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007514/0.7974, allocations: 139.8 kB / 0.9157 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.7974, allocations: 34.56 kB / 0.9158 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.7974, allocations: 0 / 0.9158 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.001036/0.7985, allocations: 359.9 kB / 0.9161 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.7985, allocations: 55.41 kB / 0.9162 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.7989, allocations: 316.5 kB / 0.9165 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.7989, allocations: 29.7 kB / 0.9165 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.799, allocations: 184.4 kB / 0.9167 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.7991, allocations: 51.53 kB / 0.9167 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.7992, allocations: 45.7 kB / 0.9168 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7993, allocations: 342.7 kB / 0.9171 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.7995, allocations: 91.83 kB / 0.9172 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.7998, allocations: 148 kB / 0.9173 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.8002, allocations: 240.1 kB / 0.9175 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8002, allocations: 0 / 0.9175 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006261/0.8009, allocations: 290.1 kB / 0.9178 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8009, allocations: 4 kB / 0.9178 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8009, allocations: 0 / 0.9178 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.8009, allocations: 4 kB / 0.9178 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.8011, allocations: 43.97 kB / 0.9179 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.8011, allocations: 7.938 kB / 0.9179 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.8014, allocations: 27.77 kB / 0.9179 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.8014, allocations: 12.88 kB / 0.9179 GB, free: 5.668 MB / 0.6856 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.0001713/0.8016, allocations: 153.8 kB / 0.9181 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8017, allocations: 35.8 kB / 0.9181 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007206/0.8024, allocations: 316.4 kB / 0.9184 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.8024, allocations: 4 kB / 0.9184 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8024, allocations: 0 / 0.9184 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.8024, allocations: 0 / 0.9184 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.8038, allocations: 0.7801 MB / 0.9192 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.8038, allocations: 8.141 kB / 0.9192 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.8039, allocations: 35.98 kB / 0.9192 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.8039, allocations: 4 kB / 0.9192 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.804, allocations: 8 kB / 0.9192 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.804, allocations: 3.938 kB / 0.9192 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.804, allocations: 4 kB / 0.9192 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.8046, allocations: 401.2 kB / 0.9196 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.8047, allocations: 63.66 kB / 0.9197 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.8048, allocations: 8 kB / 0.9197 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.805, allocations: 15.98 kB / 0.9197 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.8051, allocations: 19.97 kB / 0.9197 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.8051, allocations: 8 kB / 0.9197 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002242/0.8053, allocations: 227 kB / 0.9199 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8053, allocations: 0 / 0.9199 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005039/0.8058, allocations: 123.8 kB / 0.92 GB, free: 3.363 MB / 0.6856 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.001324/0.8072, allocations: 1.056 MB / 0.9211 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005045/0.8077, allocations: 215.7 kB / 0.9213 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8077, allocations: 3.938 kB / 0.9213 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.8079, allocations: 116.4 kB / 0.9214 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/0.8088, allocations: 158.9 kB / 0.9215 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.8132, allocations: 3.059 MB / 0.9245 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.8136, allocations: 0.7834 MB / 0.9253 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000279/0.8139, allocations: 87.73 kB / 0.9254 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.8141, allocations: 107.4 kB / 0.9255 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of SimCode: time 8.01e-07/0.8141, allocations: 0 / 0.9255 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.8487, allocations: 10.75 MB / 0.936 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.93, allocations: 6.422 kB / 0.936 GB, free: 3.086 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.96841469896026] Failed to read output from testmodel.py, exit status != 0: 12.092618320020847 12.116273975 11.321384858 Calling exit ...