Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 107 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.00195, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 437.1 MB / 0.7171 GB, free: 4.09 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 1.027 GB, free: 12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.8001, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.2001/1, allocations: 163.2 MB / 1.334 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006268/1.007, allocations: 4.574 MB / 1.339 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/1.007, allocations: 7.938 kB / 1.339 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004597/1.007, allocations: 131.1 kB / 1.339 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/1.009, allocations: 0.5445 MB / 1.339 GB, free: 24 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/1.011, allocations: 0.7619 MB / 1.34 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009423/1.012, allocations: 0.5806 MB / 1.341 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/1.012, allocations: 215.2 kB / 1.341 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/1.014, allocations: 462.2 kB / 1.341 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006793/1.014, allocations: 294.8 kB / 1.341 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/1.014, allocations: 20 kB / 1.342 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/1.017, allocations: 1.002 MB / 1.342 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/1.017, allocations: 87.77 kB / 1.343 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/1.017, allocations: 131.3 kB / 1.343 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/1.018, allocations: 0.7165 MB / 1.343 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.018, allocations: 0 / 1.343 GB, free: 11.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.018, allocations: 0 / 1.343 GB, free: 11.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.294e-06/1.018, allocations: 0 / 1.343 GB, free: 11.77 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001153/1.019, allocations: 0.6067 MB / 1.344 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.019, allocations: 12.62 kB / 1.344 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.276e-05/1.019, allocations: 50.55 kB / 1.344 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/1.02, allocations: 79.69 kB / 1.344 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/1.021, allocations: 299.5 kB / 1.344 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/1.021, allocations: 15.95 kB / 1.344 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/1.021, allocations: 20 kB / 1.344 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/1.021, allocations: 279.4 kB / 1.345 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.021, allocations: 4 kB / 1.345 GB, free: 10.29 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/1.021, allocations: 11.94 kB / 1.345 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/1.021, allocations: 11.88 kB / 1.345 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/1.022, allocations: 203.8 kB / 1.345 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/1.023, allocations: 1.245 MB / 1.346 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/1.024, allocations: 181 kB / 1.346 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/1.024, allocations: 116.2 kB / 1.346 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/1.025, allocations: 323.2 kB / 1.347 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.025, allocations: 50.69 kB / 1.347 GB, free: 7.965 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/1.025, allocations: 0 / 1.347 GB, free: 7.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0007827/1.026, allocations: 277.7 kB / 1.347 GB, free: 7.688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.834e-05/1.026, allocations: 158.2 kB / 1.347 GB, free: 7.496 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/1.026, allocations: 287 kB / 1.347 GB, free: 7.215 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/1.026, allocations: 33.7 kB / 1.348 GB, free: 7.176 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/1.026, allocations: 144 kB / 1.348 GB, free: 7.031 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/1.026, allocations: 51.58 kB / 1.348 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.012e-05/1.026, allocations: 41.7 kB / 1.348 GB, free: 6.934 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.026, allocations: 338.8 kB / 1.348 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/1.027, allocations: 71.94 kB / 1.348 GB, free: 6.523 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/1.027, allocations: 152.3 kB / 1.348 GB, free: 6.344 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/1.027, allocations: 211.5 kB / 1.348 GB, free: 6.109 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.027, allocations: 4 kB / 1.348 GB, free: 6.105 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005532/1.028, allocations: 237.2 kB / 1.349 GB, free: 5.867 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.028, allocations: 8 kB / 1.349 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.028, allocations: 256 / 1.349 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.028, allocations: 8 kB / 1.349 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/1.028, allocations: 35.98 kB / 1.349 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.028, allocations: 7.938 kB / 1.349 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/1.028, allocations: 35.7 kB / 1.349 GB, free: 5.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/1.028, allocations: 15.98 kB / 1.349 GB, free: 5.758 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001488/1.029, allocations: 141.8 kB / 1.349 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.029, allocations: 27.86 kB / 1.349 GB, free: 5.582 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004885/1.029, allocations: 194 kB / 1.349 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.029, allocations: 4 kB / 1.349 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.029, allocations: 4 kB / 1.349 GB, free: 5.367 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.029, allocations: 3.938 kB / 1.349 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.03, allocations: 0.8512 MB / 1.35 GB, free: 4.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.03, allocations: 4 kB / 1.35 GB, free: 4.434 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/1.031, allocations: 23.92 kB / 1.35 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.031, allocations: 4.125 kB / 1.35 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/1.031, allocations: 8 kB / 1.35 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/1.031, allocations: 7.938 kB / 1.35 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.031, allocations: 0 / 1.35 GB, free: 4.391 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/1.031, allocations: 339.6 kB / 1.35 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.031, allocations: 112.9 kB / 1.35 GB, free: 3.898 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/1.031, allocations: 4 kB / 1.35 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/1.032, allocations: 12.05 kB / 1.35 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/1.032, allocations: 15.98 kB / 1.351 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/1.032, allocations: 4 kB / 1.351 GB, free: 3.863 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002548/1.032, allocations: 229.9 kB / 1.351 GB, free: 3.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.7e-07/1.032, allocations: 0 / 1.351 GB, free: 3.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005049/1.032, allocations: 103.8 kB / 1.351 GB, free: 3.535 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001528/1.034, allocations: 1.006 MB / 1.352 GB, free: 2.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004461/1.034, allocations: 148 kB / 1.352 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.034, allocations: 0 / 1.352 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.035, allocations: 63.84 kB / 1.352 GB, free: 2.293 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/1.035, allocations: 137.1 kB / 1.352 GB, free: 2.16 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/1.039, allocations: 2.757 MB / 1.355 GB, free: 15.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/1.04, allocations: 0.7558 MB / 1.356 GB, free: 14.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002446/1.04, allocations: 74.81 kB / 1.356 GB, free: 14.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.04, allocations: 75.42 kB / 1.356 GB, free: 14.31 MB / 1.076 GB Notification: Performance of SimCode: time 7.11e-07/1.04, allocations: 0 / 1.356 GB, free: 14.31 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/1.078, allocations: 8.628 MB / 1.364 GB, free: 5.844 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.672/9.749, allocations: 4.062 kB / 1.364 GB, free: 5.84 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.40013709384948] Failed to read output from testmodel.py, exit status != 0: 9.820717126131058 9.836115623 8.815240364 Calling exit ...