Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 289.7 MB / 302.2 MB, free: 2.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 180 kB / 371.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 90.33 kB / 0.745 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.823e-05/5.849e-05, allocations: 4 kB / 0.8664 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2788, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9701/1.249, allocations: 138.8 MB / 1.115 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/1.249, allocations: 72.52 kB / 1.116 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009036/1.258, allocations: 3.521 MB / 1.119 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.904e-06/1.258, allocations: 4 kB / 1.119 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.827e-06/1.258, allocations: 0 / 1.119 GB, free: 42.8 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006735/1.259, allocations: 489 kB / 1.119 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.259, allocations: 8.031 kB / 1.119 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/1.259, allocations: 45.17 kB / 1.12 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/1.259, allocations: 21.47 kB / 1.12 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.259, allocations: 203.8 kB / 1.12 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.259, allocations: 6.516 kB / 1.12 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/1.259, allocations: 7.25 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/1.26, allocations: 121.4 kB / 1.12 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.26, allocations: 4.562 kB / 1.12 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/1.26, allocations: 3.438 kB / 1.12 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/1.26, allocations: 0 / 1.12 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/1.26, allocations: 81.89 kB / 1.12 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008323/1.261, allocations: 0.5163 MB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/1.261, allocations: 82.89 kB / 1.121 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/1.261, allocations: 70.83 kB / 1.121 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/1.261, allocations: 4 kB / 1.121 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/1.261, allocations: 34.81 kB / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/1.261, allocations: 0 / 1.121 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0002987/1.261, allocations: 160.3 kB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/1.261, allocations: 55.41 kB / 1.121 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.261, allocations: 131.4 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.261, allocations: 29.7 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/1.261, allocations: 116.2 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/1.262, allocations: 44.97 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/1.262, allocations: 0 / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/1.262, allocations: 325.1 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/1.262, allocations: 51.64 kB / 1.122 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/1.262, allocations: 52.55 kB / 1.122 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.891e-05/1.262, allocations: 67.31 kB / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.262, allocations: 0 / 1.122 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002027/1.262, allocations: 162.2 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.262, allocations: 4 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.262, allocations: 0 / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.262, allocations: 7.422 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/1.262, allocations: 53.19 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.262, allocations: 5.047 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/1.263, allocations: 54.27 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/1.263, allocations: 4 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/1.263, allocations: 108.1 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/1.263, allocations: 11.86 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/1.263, allocations: 192.5 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/1.263, allocations: 0.5625 kB / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.263, allocations: 0 / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.263, allocations: 0 / 1.122 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/1.263, allocations: 247.4 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.263, allocations: 7.375 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/1.264, allocations: 50.25 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.264, allocations: 4.891 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.264, allocations: 5.812 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.264, allocations: 0 / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.264, allocations: 7.516 kB / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/1.264, allocations: 251.8 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/1.264, allocations: 93.02 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.264, allocations: 3.953 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/1.264, allocations: 49.27 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/1.264, allocations: 14.12 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.264, allocations: 4.812 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.246e-05/1.264, allocations: 110.9 kB / 1.123 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.323e-06/1.264, allocations: 4 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002444/1.265, allocations: 43.88 kB / 1.123 GB, free: 39.18 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005137/1.265, allocations: 0.8351 MB / 1.124 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002421/1.265, allocations: 202.5 kB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.265, allocations: 0 / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/1.266, allocations: 135.1 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/1.266, allocations: 23.67 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/1.266, allocations: 268.1 kB / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/1.266, allocations: 0.7231 MB / 1.125 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.035e-05/1.267, allocations: 18.94 kB / 1.125 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/1.267, allocations: 38.25 kB / 1.125 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.267, allocations: 0 / 1.125 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/1.281, allocations: 3.1 MB / 1.128 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.281, allocations: 153.2 kB / 1.128 GB, free: 35.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/3.021, allocations: 0 / 1.128 GB, free: 35.21 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)