Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001437/0.001437, allocations: 113 kB / 18.94 MB, free: 2.934 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.001603/0.001603, allocations: 208.1 kB / 22.25 MB, free: 5.086 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.906/0.906, allocations: 145 MB / 457.4 MB, free: 15.51 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002214/0.002214, allocations: 61.69 kB / 0.6332 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1636, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5032/0.6668, allocations: 173.2 MB / 0.8881 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.6777, allocations: 7.239 MB / 0.8952 GB, free: 9.004 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.6782, allocations: 19.81 kB / 0.8952 GB, free: 8.984 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005178/0.6787, allocations: 178.7 kB / 0.8954 GB, free: 8.809 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003211/0.6819, allocations: 1.338 MB / 0.8967 GB, free: 7.465 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.6836, allocations: 0.6695 MB / 0.8973 GB, free: 6.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.6847, allocations: 0.7758 MB / 0.8981 GB, free: 6.023 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.6852, allocations: 235.9 kB / 0.8983 GB, free: 5.793 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.6864, allocations: 0.5916 MB / 0.8989 GB, free: 5.199 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009312/0.6873, allocations: 470.4 kB / 0.8993 GB, free: 4.738 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.6874, allocations: 24 kB / 0.8994 GB, free: 4.715 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/0.69, allocations: 1.376 MB / 0.9007 GB, free: 3.336 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.6902, allocations: 119.6 kB / 0.9008 GB, free: 3.219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.6905, allocations: 175.1 kB / 0.901 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.6922, allocations: 0.9388 MB / 0.9019 GB, free: 2.109 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6922, allocations: 0 / 0.9019 GB, free: 2.109 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6922, allocations: 0 / 0.9019 GB, free: 2.109 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.6922, allocations: 0 / 0.9019 GB, free: 2.109 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001141/0.6934, allocations: 0.6368 MB / 0.9025 GB, free: 1.441 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6934, allocations: 8.031 kB / 0.9025 GB, free: 1.434 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.825e-05/0.6935, allocations: 62.53 kB / 0.9026 GB, free: 1.363 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.6945, allocations: 131.6 kB / 0.9027 GB, free: 1.234 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.6951, allocations: 279.5 kB / 0.903 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/0.6952, allocations: 80.05 kB / 0.903 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.6952, allocations: 24 kB / 0.9031 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.6959, allocations: 371.2 kB / 0.9034 GB, free: 456 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6959, allocations: 0 / 0.9034 GB, free: 456 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.696, allocations: 12 kB / 0.9034 GB, free: 444 kB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.696, allocations: 8 kB / 0.9034 GB, free: 436 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.6965, allocations: 277.7 kB / 0.9037 GB, free: 160 kB / 0.67 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.002155/0.6987, allocations: 1.453 MB / 0.9051 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.6991, allocations: 186.6 kB / 0.9053 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.6993, allocations: 113.5 kB / 0.9054 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000803/0.7001, allocations: 131.9 kB / 0.9055 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.7001, allocations: 34.55 kB / 0.9056 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.7001, allocations: 3.938 kB / 0.9056 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009583/0.7011, allocations: 362 kB / 0.9059 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.7011, allocations: 51.41 kB / 0.906 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.7015, allocations: 316.5 kB / 0.9063 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.7015, allocations: 25.7 kB / 0.9063 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.7017, allocations: 196.3 kB / 0.9065 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.7017, allocations: 55.52 kB / 0.9065 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.7018, allocations: 49.7 kB / 0.9066 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.702, allocations: 338.8 kB / 0.9069 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.7022, allocations: 83.92 kB / 0.907 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.7024, allocations: 145.9 kB / 0.9071 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.7028, allocations: 245.7 kB / 0.9074 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7028, allocations: 1 kB / 0.9074 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005874/0.7034, allocations: 287.7 kB / 0.9076 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7034, allocations: 4 kB / 0.9076 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7034, allocations: 4 kB / 0.9076 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.7034, allocations: 0 / 0.9076 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.7037, allocations: 48.09 kB / 0.9077 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.7037, allocations: 4 kB / 0.9077 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.7039, allocations: 31.77 kB / 0.9077 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.7039, allocations: 14.25 kB / 0.9077 GB, free: 11.79 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.0001698/0.7041, allocations: 153.7 kB / 0.9079 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.7042, allocations: 31.81 kB / 0.9079 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.7049, allocations: 314.2 kB / 0.9082 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7049, allocations: 4 kB / 0.9082 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7049, allocations: 3.938 kB / 0.9082 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7049, allocations: 0 / 0.9082 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.7063, allocations: 0.7762 MB / 0.909 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7063, allocations: 0 / 0.909 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.7065, allocations: 39.91 kB / 0.909 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7065, allocations: 4 kB / 0.909 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.7065, allocations: 11.98 kB / 0.909 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7065, allocations: 4.219 kB / 0.909 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.7065, allocations: 8.984 kB / 0.909 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.7071, allocations: 397.8 kB / 0.9094 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.7073, allocations: 67.64 kB / 0.9095 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.7073, allocations: 7.938 kB / 0.9095 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.7075, allocations: 15.98 kB / 0.9095 GB, free: 9.844 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.7076, allocations: 23.92 kB / 0.9095 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.7076, allocations: 11.98 kB / 0.9095 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002346/0.7079, allocations: 227 kB / 0.9098 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.7079, allocations: 0 / 0.9098 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004912/0.7083, allocations: 115.8 kB / 0.9099 GB, free: 9.473 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.00141/0.7098, allocations: 1.06 MB / 0.9109 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.7103, allocations: 215.7 kB / 0.9111 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7103, allocations: 0 / 0.9111 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.7105, allocations: 108.6 kB / 0.9112 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/0.7113, allocations: 166.6 kB / 0.9114 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.7155, allocations: 3.058 MB / 0.9144 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.716, allocations: 0.7834 MB / 0.9151 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.7163, allocations: 87.88 kB / 0.9152 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.7165, allocations: 103.4 kB / 0.9153 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of SimCode: time 5.71e-07/0.7165, allocations: 0 / 0.9153 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.7571, allocations: 10.8 MB / 0.9259 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.68, allocations: 6.5 kB / 0.9259 GB, free: 9.121 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.191316387848929] Failed to read output from testmodel.py, exit status != 0: 11.787414065096527 11.804488284 11.109125652 Calling exit ...