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.0007788/0.0007788, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000765/0.000765, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8805/0.8805, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001374/0.001374, allocations: 241.2 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6727/0.6727, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.479e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3696/0.3696, allocations: 149.4 MB / 0.7923 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005575/0.3752, allocations: 6.524 MB / 0.7986 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.3756, allocations: 19.81 kB / 0.7986 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.3761, allocations: 182.7 kB / 0.7988 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.3785, allocations: 1.318 MB / 0.8001 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.3798, allocations: 0.6972 MB / 0.8008 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000652/0.3804, allocations: 0.7639 MB / 0.8015 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.3807, allocations: 228 kB / 0.8018 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008746/0.3816, allocations: 0.6852 MB / 0.8024 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.3827, allocations: 422.9 kB / 0.8028 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.283e-05/0.3827, allocations: 24 kB / 0.8028 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.3841, allocations: 1.067 MB / 0.8039 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.921e-05/0.3842, allocations: 127.6 kB / 0.804 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.3843, allocations: 123.7 kB / 0.8041 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009117/0.3852, allocations: 0.9271 MB / 0.805 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3852, allocations: 3.938 kB / 0.805 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3852, allocations: 0 / 0.805 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3852, allocations: 0 / 0.805 GB, free: 8.562 MB / 0.6355 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.0006876/0.3859, allocations: 0.6222 MB / 0.8056 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3859, allocations: 17.86 kB / 0.8057 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.048e-05/0.386, allocations: 63.2 kB / 0.8057 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.3865, allocations: 135.6 kB / 0.8059 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.3869, allocations: 276 kB / 0.8061 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.387, allocations: 76.05 kB / 0.8062 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.387, allocations: 31.94 kB / 0.8062 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3874, allocations: 393 kB / 0.8066 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3875, allocations: 0 / 0.8066 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3875, allocations: 12.66 kB / 0.8066 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3875, allocations: 11.98 kB / 0.8066 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.3878, allocations: 269.8 kB / 0.8069 GB, free: 6.578 MB / 0.6355 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.001094/0.3889, allocations: 1.135 MB / 0.808 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.3891, allocations: 178.6 kB / 0.8082 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3893, allocations: 120.6 kB / 0.8083 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/0.3897, allocations: 139.8 kB / 0.8084 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3897, allocations: 38.39 kB / 0.8084 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.3897, allocations: 0 / 0.8084 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006115/0.3903, allocations: 353.3 kB / 0.8088 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.3903, allocations: 51.41 kB / 0.8088 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.3905, allocations: 324.4 kB / 0.8091 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3906, allocations: 29.7 kB / 0.8092 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3907, allocations: 188.4 kB / 0.8093 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3907, allocations: 51.55 kB / 0.8094 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.3908, allocations: 45.69 kB / 0.8094 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003709/0.3911, allocations: 342.8 kB / 0.8098 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3913, allocations: 79.94 kB / 0.8098 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.3914, allocations: 230.9 kB / 0.8101 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3917, allocations: 240.8 kB / 0.8103 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3917, allocations: 0 / 0.8103 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003469/0.392, allocations: 293.6 kB / 0.8106 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.392, allocations: 8.562 kB / 0.8106 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.392, allocations: 4 kB / 0.8106 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3921, allocations: 192 / 0.8106 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3922, allocations: 39.98 kB / 0.8106 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3922, allocations: 7.938 kB / 0.8106 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.3923, allocations: 33.2 kB / 0.8107 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.3923, allocations: 15.98 kB / 0.8107 GB, free: 2.504 MB / 0.6355 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.0001094/0.3924, allocations: 150.4 kB / 0.8108 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.3925, allocations: 31.75 kB / 0.8108 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.3929, allocations: 317.5 kB / 0.8111 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3929, allocations: 0 / 0.8111 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3929, allocations: 0 / 0.8111 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3929, allocations: 2.25 kB / 0.8111 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.3937, allocations: 0.7491 MB / 0.8119 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3938, allocations: 4 kB / 0.8119 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.3938, allocations: 35.97 kB / 0.8119 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3938, allocations: 4.031 kB / 0.8119 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3939, allocations: 8 kB / 0.8119 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3939, allocations: 4 kB / 0.8119 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3939, allocations: 11.88 kB / 0.8119 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.3942, allocations: 396.3 kB / 0.8123 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.3943, allocations: 67.73 kB / 0.8124 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3943, allocations: 4 kB / 0.8124 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3944, allocations: 15.98 kB / 0.8124 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.3945, allocations: 15.92 kB / 0.8124 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.3945, allocations: 11.98 kB / 0.8124 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001433/0.3946, allocations: 227 kB / 0.8127 GB, free: 368 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3946, allocations: 0 / 0.8127 GB, free: 368 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003727/0.395, allocations: 119.8 kB / 0.8128 GB, free: 248 kB / 0.6355 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.0008099/0.3958, allocations: 1.064 MB / 0.8138 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3961, allocations: 211.7 kB / 0.814 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3961, allocations: 0 / 0.814 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3963, allocations: 116.4 kB / 0.8141 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.3968, allocations: 155.9 kB / 0.8143 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.3997, allocations: 3.057 MB / 0.8173 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3998, allocations: 181.1 kB / 0.8174 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.4, allocations: 88.27 kB / 0.8175 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.4002, allocations: 108.4 kB / 0.8176 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/0.4002, allocations: 0 / 0.8176 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.4266, allocations: 11.85 MB / 0.8292 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.098, allocations: 3.984 kB / 0.8292 GB, free: 15.59 MB / 0.6667 GB " [Timeout remaining time 653] (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: 9.678425375372171] Failed to read output from testmodel.py, exit status != 0: 7.184726660139859 7.198333074 6.810032208 Calling exit ...