Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.843/1.843, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001283/0.001284, allocations: 176.8 kB / 366.7 MB, free: 1.66 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.696/1.696, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008168/0.0008168, allocations: 86.89 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.553e-05, allocations: 8 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6066/0.6066, allocations: 116.3 MB / 0.9734 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.7946, allocations: 137.8 MB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.7948, allocations: 71.89 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002309/0.7972, allocations: 0.8302 MB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7972, allocations: 0 / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.7972, allocations: 0.5625 kB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004498/0.7977, allocations: 365.9 kB / 1.109 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.7977, allocations: 12.03 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.7978, allocations: 1.844 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.7979, allocations: 178.9 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.7979, allocations: 3.391 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.7979, allocations: 6.344 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.831e-05/0.798, allocations: 19.94 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.7981, allocations: 41.69 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.7981, allocations: 4.75 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.7981, allocations: 3.25 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.7982, allocations: 0.625 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.7986, allocations: 281.5 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.7987, allocations: 30.58 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.7988, allocations: 18.11 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.7988, allocations: 3.984 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.7988, allocations: 35.88 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.7988, allocations: 4 kB / 1.11 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001496/0.799, allocations: 47.09 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.799, allocations: 52.69 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.7991, allocations: 105.2 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.7992, allocations: 31.17 kB / 1.11 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.7993, allocations: 91.05 kB / 1.11 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.7993, allocations: 7.844 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.7993, allocations: 1.188 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7994, allocations: 322.8 kB / 1.11 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.7995, allocations: 8 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.7995, allocations: 8.5 kB / 1.11 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.7995, allocations: 12.47 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.7995, allocations: 0.9062 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.095e-05/0.7996, allocations: 57.59 kB / 1.11 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7996, allocations: 6.219 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7997, allocations: 0 / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.7997, allocations: 4 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.7998, allocations: 17.7 kB / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7998, allocations: 5.656 kB / 1.11 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.7999, allocations: 19.98 kB / 1.111 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.7999, allocations: 4 kB / 1.111 GB, free: 9.527 MB / 0.7136 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.746e-05/0.8, allocations: 108.9 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.524e-05/0.8001, allocations: 53.64 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.8002, allocations: 3.906 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.8002, allocations: 8.328 kB / 1.111 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.8002, allocations: 4 kB / 1.111 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8002, allocations: 4 kB / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8002, allocations: 0 / 1.111 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.8004, allocations: 150.2 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8004, allocations: 0 / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.8005, allocations: 19.98 kB / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8005, allocations: 3.984 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.8005, allocations: 0 / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8005, allocations: 0 / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8005, allocations: 4 kB / 1.111 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.8007, allocations: 147.5 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.8007, allocations: 81.02 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.8007, allocations: 4.906 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.8008, allocations: 15.98 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.8009, allocations: 15.92 kB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.8009, allocations: 4 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.8009, allocations: 87.28 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/0.801, allocations: 0 / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001969/0.8012, allocations: 4 kB / 1.111 GB, free: 8.734 MB / 0.7136 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004005/0.8016, allocations: 0.6802 MB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.869e-05/0.8017, allocations: 28.03 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8017, allocations: 3.938 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/0.8017, allocations: 15.98 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.8019, allocations: 11.94 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003389/0.8022, allocations: 105.5 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.8025, allocations: 0.6846 MB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.8026, allocations: 3.984 kB / 1.113 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.8026, allocations: 15.44 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.8026, allocations: 0 / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.8226, allocations: 1.009 MB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.8229, allocations: 139 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.481, allocations: 2.812 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)