Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 193.3 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.52 kB / 0.9113 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4007, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002562/0.4033, allocations: 1.331 MB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.407, allocations: 3.241 MB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.407, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.4071, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.4071, allocations: 7.969 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.4076, allocations: 99.61 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.4077, allocations: 31.86 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.4077, allocations: 4 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.4078, allocations: 23.91 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.4078, allocations: 11.98 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4078, allocations: 3.938 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.4081, allocations: 79.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.4081, allocations: 11.94 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.4081, allocations: 11.94 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.4083, allocations: 76.12 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4083, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4083, allocations: 0 / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4084, allocations: 3.938 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004619/0.4088, allocations: 343.5 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4089, allocations: 8.031 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.409, allocations: 8.844 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.4091, allocations: 168.3 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4091, allocations: 384 / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4091, allocations: 12.38 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.4093, allocations: 53.8 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4093, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4093, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4093, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.4094, allocations: 19.91 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.4096, allocations: 165.7 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4097, allocations: 58.55 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.4097, allocations: 16.84 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.4105, allocations: 0.5907 MB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4105, allocations: 42.5 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.4105, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005914/0.4111, allocations: 303 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.4112, allocations: 55.39 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.4113, allocations: 97.86 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4113, allocations: 25.7 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.4113, allocations: 88.05 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.4114, allocations: 27.55 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.4114, allocations: 25.72 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4115, allocations: 330.7 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.4116, allocations: 16 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.4116, allocations: 53.14 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.205e-05/0.4117, allocations: 77.02 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4117, allocations: 0 / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001289/0.4119, allocations: 93.55 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4119, allocations: 4 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4119, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4119, allocations: 4 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.412, allocations: 19.94 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.412, allocations: 12.11 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.4121, allocations: 7.938 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.4121, allocations: 7.938 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.789e-05/0.4122, allocations: 113.8 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.4122, allocations: 3.906 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.4122, allocations: 11.97 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4122, allocations: 0 / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4123, allocations: 0 / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4123, allocations: 3.938 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.4125, allocations: 177.7 kB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4125, allocations: 0 / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.559e-05/0.4126, allocations: 15.98 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4126, allocations: 4 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4127, allocations: 0 / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4127, allocations: 0 / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4127, allocations: 0 / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.4129, allocations: 175.7 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.4129, allocations: 89.11 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.4129, allocations: 3.984 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.4131, allocations: 12.03 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.4131, allocations: 7.938 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.4131, allocations: 3.938 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.4131, allocations: 79.28 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4132, allocations: 0 / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000233/0.4134, allocations: 12 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 0.0001349/0.4135, allocations: 107.5 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.4137, allocations: 43.86 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4137, allocations: 0 / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.4137, allocations: 16 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.414, allocations: 13.02 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.4147, allocations: 320.4 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.415, allocations: 0.7004 MB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.316e-05/0.415, allocations: 7.781 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.4151, allocations: 15.44 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4151, allocations: 0 / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of Templates: time 0.002882/0.4179, allocations: 0.6017 MB / 1.077 GB, free: 184 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)