Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",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.744/1.744, allocations: 292.6 MB / 307.5 MB, free: 5.148 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.001499/0.001499, allocations: 180 kB / 377.1 MB, free: 1.52 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.898/1.898, allocations: 205.4 MB / 0.6366 GB, free: 9.543 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.0009051/0.0009048, allocations: 81 kB / 0.7509 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 12 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 116.3 MB / 0.9885 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8293/1.117, allocations: 139.3 MB / 1.125 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.118, allocations: 92.03 kB / 1.125 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003722/1.121, allocations: 1.426 MB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.226e-06/1.121, allocations: 4 kB / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.253e-05/1.121, allocations: 0 / 1.126 GB, free: 34.28 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004312/1.122, allocations: 366.2 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.122, allocations: 16.02 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/1.122, allocations: 34.08 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/1.122, allocations: 6.75 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/1.122, allocations: 186 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.122, allocations: 5.156 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/1.122, allocations: 10.05 kB / 1.127 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.122, allocations: 60.2 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.122, allocations: 0.75 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/1.122, allocations: 5.719 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/1.122, allocations: 4 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/1.123, allocations: 50.31 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/1.123, allocations: 314.1 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/1.123, allocations: 56.8 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/1.123, allocations: 8 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.123, allocations: 30.56 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.123, allocations: 3.938 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0003744/1.124, allocations: 111.1 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/1.124, allocations: 59.41 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/1.124, allocations: 102 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/1.124, allocations: 29.7 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/1.124, allocations: 91.47 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/1.124, allocations: 7.812 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/1.124, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/1.124, allocations: 323.7 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/1.124, allocations: 26.89 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/1.124, allocations: 31.7 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/1.124, allocations: 27.56 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.124, allocations: 0 / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/1.124, allocations: 97.33 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.124, allocations: 4 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/1.124, allocations: 3.938 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.125, allocations: 4 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.125, allocations: 15.42 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.125, allocations: 4.5 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/1.125, allocations: 12 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/1.125, allocations: 4.562 kB / 1.128 GB, free: 32.14 MB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.726e-05/1.125, allocations: 109.8 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/1.125, allocations: 11.33 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/1.125, allocations: 100.5 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.125, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.125, allocations: 3.938 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.125, allocations: 4 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/1.125, allocations: 173.3 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.125, allocations: 0.9375 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/1.125, allocations: 12 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.125, allocations: 5.062 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.125, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/1.125, allocations: 4.562 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.125, allocations: 0 / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/1.126, allocations: 225.4 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.834e-05/1.126, allocations: 81.02 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.126, allocations: 4.531 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/1.126, allocations: 7.469 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/1.126, allocations: 8.312 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.126, allocations: 0.6875 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.197e-05/1.126, allocations: 88.53 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 8.062 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002042/1.126, allocations: 4 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0005464/1.127, allocations: 0.7615 MB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002238/1.127, allocations: 70.39 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.127, allocations: 0 / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/1.127, allocations: 27.61 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/1.127, allocations: 4.547 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/1.128, allocations: 0.5056 MB / 1.13 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.128, allocations: 0.6879 MB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.807e-05/1.128, allocations: 3.938 kB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/1.128, allocations: 15.44 kB / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.128, allocations: 0 / 1.131 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/1.142, allocations: 1.349 MB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/1.142, allocations: 197.5 kB / 1.132 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.856, allocations: 0 / 1.132 GB, free: 28.24 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)