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.652/1.652, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001126/0.001126, allocations: 180.8 kB / 366.7 MB, free: 1.676 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.757/1.757, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008835/0.0008835, allocations: 81.27 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.17e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.777, allocations: 116.3 MB / 0.9734 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.9761, allocations: 138.6 MB / 1.109 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.9764, allocations: 91.94 kB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004247/0.9807, allocations: 1.419 MB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9808, allocations: 4 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.9808, allocations: 0.5 kB / 1.11 GB, free: 10.02 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.0004357/0.9812, allocations: 360 kB / 1.111 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.9813, allocations: 9.094 kB / 1.111 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.9813, allocations: 4 kB / 1.111 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.9816, allocations: 189 kB / 1.111 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.9816, allocations: 4.781 kB / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.9817, allocations: 0 / 1.111 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.861e-05/0.9818, allocations: 25.3 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.9819, allocations: 41.69 kB / 1.111 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.9819, allocations: 3.984 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.9819, allocations: 0.625 kB / 1.111 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9819, allocations: 4.75 kB / 1.111 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.9824, allocations: 272.1 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.9825, allocations: 38.2 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.9826, allocations: 12.86 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.9826, allocations: 3.219 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.9826, allocations: 42.64 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.9826, allocations: 0 / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001684/0.9828, allocations: 48.61 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.9829, allocations: 59.34 kB / 1.111 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.9829, allocations: 101 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.983, allocations: 26.36 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.983, allocations: 90.55 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.9831, allocations: 15.8 kB / 1.111 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.9831, allocations: 3.938 kB / 1.111 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9832, allocations: 318.8 kB / 1.112 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.9832, allocations: 12 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.9833, allocations: 8 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.9833, allocations: 12.88 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9833, allocations: 3.984 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.149e-05/0.9834, allocations: 50.58 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9834, allocations: 4 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9834, allocations: 6.062 kB / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.9834, allocations: 0 / 1.112 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.9836, allocations: 18.42 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.9836, allocations: 0 / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.9837, allocations: 15.14 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.9837, allocations: 6.344 kB / 1.112 GB, free: 8.086 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 (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 7.358e-05/0.9838, allocations: 108.9 kB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.903e-05/0.9839, allocations: 53.69 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.9839, allocations: 11.75 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.984, allocations: 58.02 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.984, allocations: 0.625 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.984, allocations: 3.062 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.984, allocations: 0 / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.9842, allocations: 150.2 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9842, allocations: 4 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.9843, allocations: 15.92 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.9843, allocations: 0 / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.9843, allocations: 4 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9844, allocations: 4 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9844, allocations: 0 / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.9846, allocations: 165.4 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.9846, allocations: 89.08 kB / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.9846, allocations: 0 / 1.113 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.9847, allocations: 12.02 kB / 1.113 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.9848, allocations: 3.984 kB / 1.113 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.9848, allocations: 8.062 kB / 1.113 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.863e-05/0.9848, allocations: 87.27 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9848, allocations: 0 / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002021/0.9851, allocations: 8 kB / 1.113 GB, free: 7.223 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 () * 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.0004695/0.9855, allocations: 0.7046 MB / 1.113 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/0.9856, allocations: 31.98 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9856, allocations: 0 / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.9857, allocations: 15.94 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.9859, allocations: 4 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.9863, allocations: 126.2 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.9867, allocations: 0.6846 MB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.996e-05/0.9867, allocations: 8 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.9867, allocations: 13.22 kB / 1.114 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.9868, allocations: 4 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/1.009, allocations: 1.021 MB / 1.115 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/1.009, allocations: 158.3 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.618, allocations: 1.875 kB / 1.115 GB, free: 4.387 MB / 0.7136 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)