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.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001491/0.001491, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.777 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.002466/0.002466, allocations: 286.5 kB / 312.7 MB, free: 2.586 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.152/1.152, allocations: 180.6 MB / 0.5369 GB, free: 14.49 MB / 382.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",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.002829/0.002829, allocations: 99.09 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1824, allocations: 95.38 MB / 0.8327 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1873/0.3697, allocations: 149.5 MB / 0.9787 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4297/0.7993, allocations: 6.518 MB / 0.985 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004871/0.7998, allocations: 18.47 kB / 0.9851 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.8003, allocations: 176.2 kB / 0.9852 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003458/0.8038, allocations: 1.3 MB / 0.9865 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.8057, allocations: 0.6574 MB / 0.9871 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.8068, allocations: 0.771 MB / 0.9879 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.8072, allocations: 233.9 kB / 0.9881 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.8084, allocations: 0.5864 MB / 0.9887 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008545/0.8093, allocations: 447.6 kB / 0.9891 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.8094, allocations: 26.28 kB / 0.9891 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.8113, allocations: 1.047 MB / 0.9902 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.8115, allocations: 123.2 kB / 0.9903 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.8117, allocations: 147 kB / 0.9904 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.813, allocations: 0.8707 MB / 0.9913 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.813, allocations: 0 / 0.9913 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.813, allocations: 0.9375 kB / 0.9913 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.813, allocations: 0 / 0.9913 GB, free: 3.496 MB / 0.7169 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.001151/0.8142, allocations: 0.6292 MB / 0.9919 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8142, allocations: 11.02 kB / 0.9919 GB, free: 19.08 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.574e-05/0.8143, allocations: 69.36 kB / 0.992 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.8152, allocations: 133.5 kB / 0.9921 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.8158, allocations: 285.4 kB / 0.9924 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-05/0.8159, allocations: 74.06 kB / 0.9924 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.8159, allocations: 28.88 kB / 0.9925 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.8166, allocations: 395.5 kB / 0.9928 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.8166, allocations: 3.25 kB / 0.9928 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.8166, allocations: 10.88 kB / 0.9928 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.8167, allocations: 6.453 kB / 0.9929 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.8171, allocations: 271.3 kB / 0.9931 GB, free: 18.68 MB / 0.7325 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.001703/0.8188, allocations: 1.141 MB / 0.9942 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.8193, allocations: 185.3 kB / 0.9944 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.8195, allocations: 115.7 kB / 0.9945 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007888/0.8203, allocations: 134.3 kB / 0.9946 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.8203, allocations: 36.02 kB / 0.9947 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.8203, allocations: 2.844 kB / 0.9947 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001008/0.8213, allocations: 356.7 kB / 0.995 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.8214, allocations: 54.8 kB / 0.9951 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.8217, allocations: 318.8 kB / 0.9954 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.8218, allocations: 30.2 kB / 0.9954 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.8219, allocations: 183.5 kB / 0.9956 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.822, allocations: 60.86 kB / 0.9956 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.822, allocations: 48.69 kB / 0.9957 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.8222, allocations: 339.3 kB / 0.996 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.8224, allocations: 86.86 kB / 0.9961 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.8227, allocations: 226.9 kB / 0.9963 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/0.8232, allocations: 242.1 kB / 0.9965 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8232, allocations: 1.812 kB / 0.9965 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006047/0.8238, allocations: 287.9 kB / 0.9968 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8238, allocations: 5.219 kB / 0.9968 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8238, allocations: 2.719 kB / 0.9968 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8238, allocations: 3 kB / 0.9968 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.824, allocations: 44.56 kB / 0.9969 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.8241, allocations: 2.5 kB / 0.9969 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.8243, allocations: 33.84 kB / 0.9969 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.8243, allocations: 13.92 kB / 0.9969 GB, free: 16.98 MB / 0.7325 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.0001716/0.8245, allocations: 154.2 kB / 0.9971 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.8246, allocations: 34.84 kB / 0.9971 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.8253, allocations: 316.5 kB / 0.9974 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8253, allocations: 1.938 kB / 0.9974 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8253, allocations: 2.5 kB / 0.9974 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8253, allocations: 1.922 kB / 0.9974 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.8267, allocations: 0.7459 MB / 0.9981 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8267, allocations: 2.25 kB / 0.9981 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.8269, allocations: 41.62 kB / 0.9982 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8269, allocations: 2.906 kB / 0.9982 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.8269, allocations: 6.328 kB / 0.9982 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.8269, allocations: 6.719 kB / 0.9982 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8269, allocations: 5.281 kB / 0.9982 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.8275, allocations: 404.8 kB / 0.9986 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.8277, allocations: 54.88 kB / 0.9986 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.8277, allocations: 6.938 kB / 0.9986 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.828, allocations: 19.03 kB / 0.9987 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.828, allocations: 15.45 kB / 0.9987 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.828, allocations: 13.08 kB / 0.9987 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002767/0.8283, allocations: 231.8 kB / 0.9989 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.8283, allocations: 4.781 kB / 0.9989 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006308/0.829, allocations: 124.4 kB / 0.999 GB, free: 16.14 MB / 0.7325 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.001382/0.8303, allocations: 1.053 MB / 1 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.8309, allocations: 216.3 kB / 1 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.8309, allocations: 0 / 1 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.8311, allocations: 114.3 kB / 1 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.832, allocations: 165.3 kB / 1.001 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.8359, allocations: 3.055 MB / 1.004 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.8361, allocations: 181.8 kB / 1.004 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.8363, allocations: 79.95 kB / 1.004 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.8365, allocations: 104 kB / 1.004 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.8365, allocations: 0.875 kB / 1.004 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.8737, allocations: 11.73 MB / 1.015 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.68, allocations: 6.5 kB / 1.015 GB, free: 12.23 MB / 0.7325 GB " [Timeout remaining time 648] (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: 15.577461624983698] Failed to read output from testmodel.py, exit status != 0: 11.784250852186233 11.795309936 10.979798828 Calling exit ...