Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.00127/0.00127, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001596/0.001596, allocations: 215.1 kB / 23.04 MB, free: 5.082 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.02/3.02, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_Performance_Example4",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001928/0.001928, allocations: 70.34 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3133, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2757/0.589, allocations: 242.3 MB / 1.563 GB, free: 14.78 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02537/0.6144, allocations: 15.93 MB / 1.579 GB, free: 14.8 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.617, allocations: 87.25 kB / 1.579 GB, free: 14.71 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.6201, allocations: 1.084 MB / 1.58 GB, free: 13.62 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.008451/0.6286, allocations: 3.133 MB / 1.583 GB, free: 10.48 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/0.6336, allocations: 1.734 MB / 1.585 GB, free: 8.754 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006295/0.6399, allocations: 3.486 MB / 1.588 GB, free: 5.258 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.6419, allocations: 1.003 MB / 1.589 GB, free: 4.219 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008/0.6499, allocations: 2.885 MB / 1.592 GB, free: 1.336 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.6535, allocations: 1.123 MB / 1.593 GB, free: 224 kB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0005893/0.6541, allocations: 120 kB / 1.593 GB, free: 104 kB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007588/0.6617, allocations: 3.277 MB / 1.596 GB, free: 12.82 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009878/0.6627, allocations: 490.2 kB / 1.597 GB, free: 12.34 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.6641, allocations: 0.8123 MB / 1.598 GB, free: 11.52 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.671, allocations: 2.99 MB / 1.601 GB, free: 8.52 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.671, allocations: 4 kB / 1.601 GB, free: 8.516 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.974e-06/0.671, allocations: 0 / 1.601 GB, free: 8.516 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.263e-05/0.671, allocations: 0 / 1.601 GB, free: 8.516 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004457/0.6755, allocations: 1.989 MB / 1.602 GB, free: 6.484 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.6755, allocations: 8.031 kB / 1.602 GB, free: 6.477 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.321e-05/0.6756, allocations: 34 kB / 1.603 GB, free: 6.445 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.6758, allocations: 156.2 kB / 1.603 GB, free: 6.285 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.6788, allocations: 0.5063 MB / 1.603 GB, free: 5.777 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.6817, allocations: 1.113 MB / 1.604 GB, free: 4.613 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.6818, allocations: 82 kB / 1.604 GB, free: 4.535 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.6821, allocations: 99.98 kB / 1.604 GB, free: 4.438 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.6849, allocations: 1.35 MB / 1.606 GB, free: 2.965 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.6849, allocations: 7.922 kB / 1.606 GB, free: 2.957 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.685, allocations: 44 kB / 1.606 GB, free: 2.914 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.219e-05/0.6851, allocations: 42 kB / 1.606 GB, free: 2.875 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.6877, allocations: 1.054 MB / 1.607 GB, free: 1.82 MB / 1.295 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.619/1.307, allocations: 7.39 MB / 1.614 GB, free: 278.3 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/1.308, allocations: 0.5253 MB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/1.309, allocations: 253.2 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/1.309, allocations: 51.67 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/1.309, allocations: 38.09 kB / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/1.309, allocations: 0 / 1.615 GB, free: 278.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=33): time 0.003092/1.313, allocations: 0.8517 MB / 1.616 GB, free: 278.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.313, allocations: 56.92 kB / 1.616 GB, free: 278.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/1.316, allocations: 1.404 MB / 1.617 GB, free: 277.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.316, allocations: 33.23 kB / 1.617 GB, free: 277.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/1.316, allocations: 0.7195 MB / 1.618 GB, free: 277.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/1.316, allocations: 125.7 kB / 1.618 GB, free: 277 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/1.317, allocations: 162.9 kB / 1.618 GB, free: 276.9 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.36e-05/1.317, allocations: 335.6 kB / 1.618 GB, free: 276.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009029/1.318, allocations: 315.7 kB / 1.619 GB, free: 276.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.319, allocations: 0.6831 MB / 1.619 GB, free: 276 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.321, allocations: 0.9269 MB / 1.62 GB, free: 275.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/1.321, allocations: 6.75 kB / 1.62 GB, free: 275.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002719/1.323, allocations: 1.058 MB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/1.324, allocations: 14.97 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.324, allocations: 15.25 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/1.324, allocations: 16.19 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/1.324, allocations: 207.2 kB / 1.622 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/1.324, allocations: 20.34 kB / 1.622 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.326, allocations: 185.5 kB / 1.622 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.326, allocations: 43.59 kB / 1.622 GB, free: 274.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/1.327, allocations: 0.5672 MB / 1.622 GB, free: 274.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/1.329, allocations: 0.6853 MB / 1.623 GB, free: 274.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00187/1.33, allocations: 0.9312 MB / 1.624 GB, free: 273.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.306e-05/1.33, allocations: 3.562 kB / 1.624 GB, free: 273.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003238/1.334, allocations: 1.055 MB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.334, allocations: 14.2 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/1.334, allocations: 15.72 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/1.334, allocations: 19.81 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.335, allocations: 201.4 kB / 1.625 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.791e-05/1.335, allocations: 26.31 kB / 1.625 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.336, allocations: 137.2 kB / 1.625 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.336, allocations: 41.62 kB / 1.625 GB, free: 273 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003323/1.337, allocations: 237.4 kB / 1.626 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/1.337, allocations: 147.3 kB / 1.626 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.339, allocations: 0.6462 MB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/1.339, allocations: 3.812 kB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.339, allocations: 0.5 kB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.339, allocations: 2.516 kB / 1.626 GB, free: 272.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/1.343, allocations: 1.863 MB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.343, allocations: 3.625 kB / 1.628 GB, free: 271.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/1.344, allocations: 90.67 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.344, allocations: 10.8 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/1.344, allocations: 13.45 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.344, allocations: 9.297 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.344, allocations: 4.562 kB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/1.345, allocations: 0.8108 MB / 1.629 GB, free: 271.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005818/1.346, allocations: 224 kB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/1.346, allocations: 11.84 kB / 1.629 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.347, allocations: 67.5 kB / 1.63 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/1.347, allocations: 39.06 kB / 1.63 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/1.347, allocations: 20.06 kB / 1.63 GB, free: 270.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001527/1.349, allocations: 1.015 MB / 1.631 GB, free: 270.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.349, allocations: 0 / 1.631 GB, free: 270.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002045/1.351, allocations: 0.5761 MB / 1.631 GB, free: 270.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002037/1.353, allocations: 1.51 MB / 1.633 GB, free: 269.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002882/1.356, allocations: 1.093 MB / 1.634 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/1.356, allocations: 1.375 kB / 1.634 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006913/1.356, allocations: 242.5 kB / 1.634 GB, free: 269.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.36, allocations: 0.7508 MB / 1.635 GB, free: 268.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/1.379, allocations: 9.873 MB / 1.644 GB, free: 263.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/1.38, allocations: 1.184 MB / 1.645 GB, free: 263 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001588/1.382, allocations: 385.3 kB / 1.646 GB, free: 262.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/1.382, allocations: 0.4901 MB / 1.646 GB, free: 262.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.082e-06/1.382, allocations: 4 kB / 1.646 GB, free: 262.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06044/1.443, allocations: 36.41 MB / 1.682 GB, free: 231 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/16.13, allocations: 10.39 kB / 1.682 GB, free: 231 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.477081129036378] Failed to read output from testmodel.py, exit status != 0: 16.320581325038802 16.336552794 15.662266282 Calling exit ...