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.001356/0.001356, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001534/0.001534, allocations: 217.9 kB / 23.03 MB, free: 4.922 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9135/0.9135, allocations: 145 MB / 458.2 MB, free: 15.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",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.00194/0.00194, allocations: 70.89 kB / 0.6339 GB, free: 6.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 87.89 MB / 0.7197 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6044/0.785, allocations: 149.4 MB / 0.8656 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009884/0.7949, allocations: 6.552 MB / 0.872 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.7955, allocations: 19.81 kB / 0.8721 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.7962, allocations: 174.7 kB / 0.8722 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.8, allocations: 1.299 MB / 0.8735 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.8021, allocations: 0.6626 MB / 0.8741 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.8035, allocations: 0.7797 MB / 0.8749 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.8041, allocations: 228.1 kB / 0.8751 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.8056, allocations: 0.5954 MB / 0.8757 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.8068, allocations: 455.9 kB / 0.8761 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.8069, allocations: 28 kB / 0.8762 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.8093, allocations: 1.06 MB / 0.8772 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.8095, allocations: 127.6 kB / 0.8773 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.8098, allocations: 147.3 kB / 0.8775 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.8118, allocations: 0.8952 MB / 0.8783 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8118, allocations: 0 / 0.8783 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8118, allocations: 0 / 0.8783 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.8119, allocations: 0 / 0.8783 GB, free: 8.566 MB / 0.6544 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.001348/0.8132, allocations: 0.6329 MB / 0.879 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.8132, allocations: 8.031 kB / 0.879 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.842e-05/0.8133, allocations: 12.59 kB / 0.879 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.291e-05/0.8134, allocations: 62.53 kB / 0.879 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.8145, allocations: 135.6 kB / 0.8792 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.8151, allocations: 275.6 kB / 0.8794 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.8153, allocations: 72.06 kB / 0.8795 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.8153, allocations: 28 kB / 0.8795 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007542/0.8161, allocations: 396.9 kB / 0.8799 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.8161, allocations: 0 / 0.8799 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.8161, allocations: 16 kB / 0.8799 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8161, allocations: 4 kB / 0.8799 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.8167, allocations: 281.7 kB / 0.8802 GB, free: 6.574 MB / 0.6544 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.00207/0.8188, allocations: 1.144 MB / 0.8813 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.8192, allocations: 178.6 kB / 0.8815 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.8195, allocations: 108.8 kB / 0.8816 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008743/0.8203, allocations: 143.8 kB / 0.8817 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8204, allocations: 34.5 kB / 0.8818 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 2.114e-06/0.8204, allocations: 4 kB / 0.8818 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.001085/0.8214, allocations: 360.5 kB / 0.8821 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.8215, allocations: 51.41 kB / 0.8821 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.8219, allocations: 316.5 kB / 0.8825 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.822, allocations: 29.7 kB / 0.8825 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.8221, allocations: 188.3 kB / 0.8827 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.8222, allocations: 55.53 kB / 0.8827 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.8223, allocations: 41.7 kB / 0.8828 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8225, allocations: 346.7 kB / 0.8831 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.8227, allocations: 83.94 kB / 0.8832 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.823, allocations: 227 kB / 0.8834 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.8234, allocations: 244.4 kB / 0.8836 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8234, allocations: 0 / 0.8836 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006474/0.8241, allocations: 285.9 kB / 0.8839 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8241, allocations: 4.188 kB / 0.8839 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8241, allocations: 8 kB / 0.8839 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.8241, allocations: 0 / 0.8839 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.8244, allocations: 35.98 kB / 0.8839 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.8244, allocations: 8.484 kB / 0.8839 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.8246, allocations: 32.64 kB / 0.884 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.8247, allocations: 15.98 kB / 0.884 GB, free: 2.488 MB / 0.6544 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.0001816/0.8249, allocations: 149.8 kB / 0.8841 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.825, allocations: 31.81 kB / 0.8842 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.8258, allocations: 321.2 kB / 0.8845 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.8258, allocations: 4 kB / 0.8845 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.8258, allocations: 0 / 0.8845 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8258, allocations: 0 / 0.8845 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.8273, allocations: 0.7528 MB / 0.8852 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.8273, allocations: 4 kB / 0.8852 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.8275, allocations: 31.97 kB / 0.8852 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.8275, allocations: 7.938 kB / 0.8852 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.8276, allocations: 12.03 kB / 0.8853 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.8276, allocations: 11.88 kB / 0.8853 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8276, allocations: 48 / 0.8853 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/0.8283, allocations: 413.3 kB / 0.8857 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.8284, allocations: 63.7 kB / 0.8857 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.8285, allocations: 3.938 kB / 0.8857 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.8288, allocations: 15.98 kB / 0.8857 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.8288, allocations: 19.97 kB / 0.8858 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.8289, allocations: 8 kB / 0.8858 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002709/0.8291, allocations: 227 kB / 0.886 GB, free: 324 kB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.8291, allocations: 0 / 0.886 GB, free: 324 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006414/0.8298, allocations: 123.8 kB / 0.8861 GB, free: 200 kB / 0.6544 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.001542/0.8313, allocations: 1.048 MB / 0.8871 GB, free: 15.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.8319, allocations: 220 kB / 0.8873 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8319, allocations: 0 / 0.8873 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.8321, allocations: 111.8 kB / 0.8874 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009061/0.833, allocations: 158.3 kB / 0.8876 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/0.8379, allocations: 3.061 MB / 0.8906 GB, free: 11.42 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.8381, allocations: 177.1 kB / 0.8908 GB, free: 11.22 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.8384, allocations: 87.8 kB / 0.8908 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.8386, allocations: 107.4 kB / 0.8909 GB, free: 11.03 MB / 0.67 GB Notification: Performance of SimCode: time 1.252e-06/0.8386, allocations: 0 / 0.8909 GB, free: 11.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.876, allocations: 11.39 MB / 0.9021 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.59, allocations: 14.06 kB / 0.9021 GB, free: 15.96 MB / 0.6856 GB " [Timeout remaining time 647] (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: 16.421851214952767] Failed to read output from testmodel.py, exit status != 0: 12.760310052079149 12.785941706000001 11.969145954 Calling exit ...