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.001303/0.001303, 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.001461/0.001461, allocations: 217.7 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002419/0.002419, allocations: 290.7 kB / 313.5 MB, free: 2.598 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.156/1.156, allocations: 180.6 MB / 0.5377 GB, free: 14.63 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",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.002736/0.002736, allocations: 95.17 kB / 0.7403 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1633, allocations: 95.39 MB / 0.8334 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1837/0.3471, allocations: 149.4 MB / 0.9793 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.413/0.7601, allocations: 6.512 MB / 0.9857 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004491/0.7606, allocations: 20.78 kB / 0.9857 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.7611, allocations: 177.5 kB / 0.9859 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.764, allocations: 1.298 MB / 0.9871 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.7657, allocations: 0.6592 MB / 0.9878 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.7666, allocations: 0.7765 MB / 0.9885 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.767, allocations: 240.5 kB / 0.9888 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.7683, allocations: 0.5921 MB / 0.9894 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.7692, allocations: 460 kB / 0.9898 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.7693, allocations: 26.94 kB / 0.9898 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.7714, allocations: 1.061 MB / 0.9909 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.7716, allocations: 121.1 kB / 0.991 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.7718, allocations: 151.5 kB / 0.9911 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.7733, allocations: 0.8642 MB / 0.992 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7733, allocations: 0 / 0.992 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7733, allocations: 1.094 kB / 0.992 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.7733, allocations: 0 / 0.992 GB, free: 3.48 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.001114/0.7744, allocations: 0.634 MB / 0.9926 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7745, allocations: 13.23 kB / 0.9926 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.117e-05/0.7745, allocations: 9.625 kB / 0.9926 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/0.7746, allocations: 66.7 kB / 0.9927 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009788/0.7755, allocations: 126.3 kB / 0.9928 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.7761, allocations: 281.4 kB / 0.993 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/0.7762, allocations: 74.95 kB / 0.9931 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.7762, allocations: 28.75 kB / 0.9931 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.7768, allocations: 397.9 kB / 0.9935 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.7769, allocations: 3.562 kB / 0.9935 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.7769, allocations: 11.64 kB / 0.9935 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.7769, allocations: 5.281 kB / 0.9935 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.7774, allocations: 274.9 kB / 0.9938 GB, free: 18.66 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.001591/0.7789, allocations: 1.142 MB / 0.9949 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004171/0.7794, allocations: 190.5 kB / 0.9951 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.7796, allocations: 110.8 kB / 0.9952 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000867/0.7804, allocations: 135.5 kB / 0.9953 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.7805, allocations: 34.09 kB / 0.9954 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.7805, allocations: 0 / 0.9954 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001043/0.7815, allocations: 362.2 kB / 0.9957 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.7816, allocations: 58 kB / 0.9958 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.782, allocations: 312.5 kB / 0.9961 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.782, allocations: 31.14 kB / 0.9961 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.7822, allocations: 184.4 kB / 0.9963 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.7822, allocations: 53.23 kB / 0.9963 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.48e-05/0.7823, allocations: 46.42 kB / 0.9964 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7825, allocations: 337.6 kB / 0.9967 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.7827, allocations: 93.42 kB / 0.9968 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.783, allocations: 230.9 kB / 0.997 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.7834, allocations: 243.1 kB / 0.9972 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7834, allocations: 0 / 0.9972 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005791/0.784, allocations: 292.8 kB / 0.9975 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.784, allocations: 5.688 kB / 0.9975 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.784, allocations: 1.188 kB / 0.9975 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7841, allocations: 4.656 kB / 0.9975 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.7843, allocations: 36.72 kB / 0.9976 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7843, allocations: 11.42 kB / 0.9976 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.7845, allocations: 33.64 kB / 0.9976 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.7846, allocations: 13.73 kB / 0.9976 GB, free: 16.96 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.0001707/0.7847, allocations: 155.4 kB / 0.9978 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.7848, allocations: 29.94 kB / 0.9978 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.7856, allocations: 313 kB / 0.9981 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7856, allocations: 1.219 kB / 0.9981 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7856, allocations: 0.9688 kB / 0.9981 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7856, allocations: 3.484 kB / 0.9981 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.7869, allocations: 0.7489 MB / 0.9988 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7869, allocations: 1.812 kB / 0.9988 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.7871, allocations: 39.16 kB / 0.9989 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.7871, allocations: 2.719 kB / 0.9989 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.7872, allocations: 9.375 kB / 0.9989 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.7872, allocations: 9.297 kB / 0.9989 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7872, allocations: 2.219 kB / 0.9989 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.7878, allocations: 397.7 kB / 0.9993 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.788, allocations: 61.53 kB / 0.9993 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.788, allocations: 8.062 kB / 0.9993 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.7882, allocations: 20.59 kB / 0.9994 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.7883, allocations: 20.05 kB / 0.9994 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.7883, allocations: 12.23 kB / 0.9994 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000261/0.7886, allocations: 226.2 kB / 0.9996 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7886, allocations: 1.75 kB / 0.9996 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006301/0.7892, allocations: 118.4 kB / 0.9997 GB, free: 16.13 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.001389/0.7906, allocations: 1.057 MB / 1.001 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.7912, allocations: 213.6 kB / 1.001 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7912, allocations: 0.6562 kB / 1.001 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.7914, allocations: 112.7 kB / 1.001 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/0.7923, allocations: 163.3 kB / 1.001 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.7965, allocations: 3.066 MB / 1.004 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.7967, allocations: 177.3 kB / 1.004 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002858/0.797, allocations: 81.94 kB / 1.004 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.7971, allocations: 101.5 kB / 1.005 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.7971, allocations: 0.9062 kB / 1.005 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.833, allocations: 11.35 MB / 1.016 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.17, allocations: 11.31 kB / 1.016 GB, free: 12.63 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: 16.165042508975603] Failed to read output from testmodel.py, exit status != 0: 12.328918589977548 12.340716943 11.564850996 Calling exit ...