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.692/1.692, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001033/0.001032, allocations: 181.6 kB / 371.6 MB, free: 3.422 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.759/1.759, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.00103/0.00103, allocations: 89.97 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.53e-05/6.537e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2979, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.22, allocations: 139.2 MB / 1.116 GB, free: 44.56 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.22, allocations: 86.91 kB / 1.116 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004248/1.225, allocations: 1.428 MB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.292e-06/1.225, allocations: 0.625 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.214e-05/1.225, allocations: 0 / 1.117 GB, free: 43.64 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003459/1.225, allocations: 356.1 kB / 1.118 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.225, allocations: 14.25 kB / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/1.225, allocations: 41.27 kB / 1.118 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/1.225, allocations: 8.062 kB / 1.118 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/1.225, allocations: 182 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.225, allocations: 8.109 kB / 1.118 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/1.225, allocations: 0 / 1.118 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/1.225, allocations: 53.17 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.226, allocations: 0 / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/1.226, allocations: 0 / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.226, allocations: 0 / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/1.226, allocations: 26.7 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/1.226, allocations: 301.5 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/1.226, allocations: 38.05 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/1.226, allocations: 16.17 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/1.226, allocations: 0 / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/1.226, allocations: 30.56 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/1.226, allocations: 3.938 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001742/1.226, allocations: 53.56 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/1.226, allocations: 59.41 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.826e-05/1.227, allocations: 105 kB / 1.119 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/1.227, allocations: 25.7 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/1.227, allocations: 95.73 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/1.227, allocations: 19.59 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.227, allocations: 0 / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/1.227, allocations: 318.6 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/1.227, allocations: 7.5 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/1.227, allocations: 18.02 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/1.227, allocations: 15.7 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.227, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001274/1.227, allocations: 61.05 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.227, allocations: 4 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.227, allocations: 0 / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.227, allocations: 0.5625 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.227, allocations: 15.47 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.227, allocations: 0 / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/1.227, allocations: 15.33 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.227, allocations: 4.516 kB / 1.119 GB, free: 41.75 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 (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 4.297e-05/1.227, allocations: 109.9 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/1.227, allocations: 7.328 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/1.228, allocations: 64.28 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.228, allocations: 0 / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.228, allocations: 4 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.228, allocations: 8.5 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/1.228, allocations: 167.3 kB / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.228, allocations: 0.8438 kB / 1.12 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/1.228, allocations: 15.56 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.228, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.228, allocations: 3.812 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.228, allocations: 0 / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.228, allocations: 0.5625 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/1.228, allocations: 178.5 kB / 1.12 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/1.228, allocations: 81.05 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.228, allocations: 3.312 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/1.228, allocations: 16.52 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/1.228, allocations: 1.125 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/1.228, allocations: 4 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.912e-05/1.228, allocations: 91.12 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.228, allocations: 0 / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001964/1.228, allocations: 12.06 kB / 1.12 GB, free: 40.98 MB / 0.7448 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 () * 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.0003222/1.229, allocations: 0.709 MB / 1.121 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.716e-05/1.229, allocations: 25.62 kB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.229, allocations: 0 / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/1.229, allocations: 14.56 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/1.229, allocations: 14.94 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/1.23, allocations: 124.6 kB / 1.121 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/1.23, allocations: 0.6837 MB / 1.121 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.031e-05/1.23, allocations: 8.078 kB / 1.121 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/1.23, allocations: 14.75 kB / 1.121 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.23, allocations: 9.312 kB / 1.121 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/1.245, allocations: 1.341 MB / 1.123 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.245, allocations: 183.3 kB / 1.123 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.893, allocations: 0.75 kB / 1.123 GB, free: 38.43 MB / 0.7448 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)