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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.519/1.519, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001255/0.001255, allocations: 186.4 kB / 376.9 MB, free: 1.809 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.376/1.376, allocations: 205.1 MB / 0.6354 GB, free: 9.785 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.0008943/0.0008942, allocations: 96.53 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009807/0.0009807, allocations: 59.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2466, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002609/0.2493, allocations: 1.473 MB / 0.9837 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.2497, allocations: 212.2 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.2498, allocations: 0 / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2498, allocations: 0 / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.25, allocations: 15.92 kB / 0.9839 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.862e-05/0.2501, allocations: 27.97 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2502, allocations: 47.8 kB / 0.984 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.2503, allocations: 11.94 kB / 0.984 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.825e-05/0.2504, allocations: 19.92 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.2504, allocations: 19.91 kB / 0.984 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2505, allocations: 4 kB / 0.984 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.2505, allocations: 4 kB / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.2505, allocations: 0 / 0.984 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.2505, allocations: 31.84 kB / 0.984 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.2506, allocations: 35.88 kB / 0.9841 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2506, allocations: 0 / 0.9841 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2506, allocations: 0 / 0.9841 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2507, allocations: 3.938 kB / 0.9841 GB, free: 8.457 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004845/0.2511, allocations: 363.6 kB / 0.9844 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2512, allocations: 12.02 kB / 0.9844 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.2512, allocations: 4.938 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2514, allocations: 188.2 kB / 0.9846 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2514, allocations: 384 / 0.9846 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.2514, allocations: 4.375 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2516, allocations: 58.23 kB / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2516, allocations: 192 / 0.9847 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.2516, allocations: 3.938 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2516, allocations: 0 / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.2518, allocations: 47.95 kB / 0.9847 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.2522, allocations: 292.8 kB / 0.985 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.2525, allocations: 58.55 kB / 0.9851 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.529e-05/0.2526, allocations: 32.84 kB / 0.9851 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2526, allocations: 4 kB / 0.9851 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.2526, allocations: 34.55 kB / 0.9851 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2526, allocations: 0 / 0.9851 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003456/0.253, allocations: 97.58 kB / 0.9852 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.253, allocations: 55.41 kB / 0.9853 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.2531, allocations: 113.8 kB / 0.9854 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.2531, allocations: 29.7 kB / 0.9854 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.2532, allocations: 88.12 kB / 0.9855 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.2532, allocations: 19.75 kB / 0.9855 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.2532, allocations: 17.72 kB / 0.9855 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.2533, allocations: 314.8 kB / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.2534, allocations: 23.98 kB / 0.9859 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.577e-05/0.2535, allocations: 31.98 kB / 0.9859 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2537, allocations: 56.75 kB / 0.986 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2537, allocations: 3.938 kB / 0.986 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002067/0.2539, allocations: 89.56 kB / 0.986 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2539, allocations: 6.031 kB / 0.986 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2539, allocations: 0 / 0.986 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.254, allocations: 4 kB / 0.9861 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.254, allocations: 19.92 kB / 0.9861 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.2541, allocations: 0 / 0.9861 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.2541, allocations: 7.984 kB / 0.9861 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2541, allocations: 0 / 0.9861 GB, free: 6.191 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.2542, allocations: 117.8 kB / 0.9862 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.2542, allocations: 3.906 kB / 0.9862 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.2545, allocations: 93.48 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2545, allocations: 4 kB / 0.9863 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2545, allocations: 0 / 0.9863 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2545, allocations: 0 / 0.9863 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2547, allocations: 169.6 kB / 0.9864 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2547, allocations: 0 / 0.9864 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.2548, allocations: 16.22 kB / 0.9865 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2548, allocations: 0 / 0.9865 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.2548, allocations: 4 kB / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2548, allocations: 0 / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2548, allocations: 4 kB / 0.9865 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.256, allocations: 1.136 MB / 0.9876 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.2561, allocations: 85.12 kB / 0.9877 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.2561, allocations: 0 / 0.9877 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.2562, allocations: 8 kB / 0.9877 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2562, allocations: 3.984 kB / 0.9877 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2562, allocations: 8.094 kB / 0.9877 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.2563, allocations: 99.47 kB / 0.9878 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2563, allocations: 0 / 0.9878 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002616/0.2566, allocations: 15.84 kB / 0.9878 GB, free: 4.211 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.585e-05/0.2567, allocations: 99.23 kB / 0.9879 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.2569, allocations: 55.95 kB / 0.9879 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2569, allocations: 4 kB / 0.9879 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.257, allocations: 23.98 kB / 0.988 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2573, allocations: 7.984 kB / 0.988 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.2577, allocations: 273.7 kB / 0.9882 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.2579, allocations: 0.6887 MB / 0.9889 GB, free: 3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.258, allocations: 4 kB / 0.9889 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.258, allocations: 7.438 kB / 0.9889 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.258, allocations: 0 / 0.9889 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of Templates: time 0.00233/0.2603, allocations: 0.589 MB / 0.9895 GB, free: 2.402 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (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 & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)