Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001213, allocations: 110.5 kB / 16.38 MB, free: 6.004 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.001165/0.001165, allocations: 191.2 kB / 17.32 MB, free: 5.613 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00207/0.00207, allocations: 280.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8996/0.8996, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 87.86 kB / 0.682 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4077, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002141/0.4099, allocations: 1.257 MB / 0.7682 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003567/0.4135, allocations: 3.262 MB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.4135, allocations: 0 / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.4136, allocations: 0 / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.4137, allocations: 7.938 kB / 0.7714 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.4142, allocations: 103.5 kB / 0.7715 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.4143, allocations: 39.86 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.4144, allocations: 7.969 kB / 0.7715 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.378e-05/0.4144, allocations: 12 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.4145, allocations: 15.92 kB / 0.7716 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.4145, allocations: 4 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.4148, allocations: 79.8 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.4148, allocations: 15.98 kB / 0.7716 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.4148, allocations: 19.86 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.415, allocations: 75.5 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.415, allocations: 0 / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.415, allocations: 0 / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4151, allocations: 0 / 0.7717 GB, free: 15.02 MB / 0.545 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.0004982/0.4156, allocations: 342 kB / 0.7721 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.4156, allocations: 8.031 kB / 0.7721 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.4157, allocations: 8.938 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4159, allocations: 168.4 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.4159, allocations: 4.375 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4159, allocations: 12.25 kB / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.4161, allocations: 61.78 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4161, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4161, allocations: 3.938 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4161, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.4161, allocations: 19.98 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.4163, allocations: 177.5 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/0.4164, allocations: 42.56 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.4165, allocations: 16.86 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.4172, allocations: 0.6026 MB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4172, allocations: 30.56 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4172, allocations: 4 kB / 0.7732 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005609/0.4178, allocations: 294.5 kB / 0.7735 GB, free: 12.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4178, allocations: 55.41 kB / 0.7735 GB, free: 12.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.4179, allocations: 105.8 kB / 0.7736 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.4179, allocations: 25.7 kB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.418, allocations: 91.98 kB / 0.7737 GB, free: 12.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.418, allocations: 23.62 kB / 0.7738 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.4181, allocations: 29.7 kB / 0.7738 GB, free: 12.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4182, allocations: 318.8 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.4182, allocations: 15.98 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.4182, allocations: 49.14 kB / 0.7741 GB, free: 12.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.4183, allocations: 81.03 kB / 0.7742 GB, free: 12.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4184, allocations: 3.938 kB / 0.7742 GB, free: 12.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001249/0.4185, allocations: 97.45 kB / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4185, allocations: 8 kB / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4185, allocations: 128 / 0.7743 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4185, allocations: 8.281 kB / 0.7743 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.4186, allocations: 19.98 kB / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4186, allocations: 3.938 kB / 0.7744 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.4187, allocations: 7.938 kB / 0.7744 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.4187, allocations: 8 kB / 0.7744 GB, free: 11.91 MB / 0.545 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 8.02e-05/0.4188, allocations: 112.2 kB / 0.7745 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.4188, allocations: 11.98 kB / 0.7745 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.4188, allocations: 11.95 kB / 0.7745 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4188, allocations: 8 kB / 0.7745 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4189, allocations: 0 / 0.7745 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4189, allocations: 3.938 kB / 0.7745 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.4191, allocations: 173.7 kB / 0.7747 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4191, allocations: 0 / 0.7747 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.4192, allocations: 12 kB / 0.7747 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4192, allocations: 0 / 0.7747 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.4192, allocations: 4 kB / 0.7747 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4192, allocations: 7.922 kB / 0.7747 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4192, allocations: 0 / 0.7747 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.4194, allocations: 171.4 kB / 0.7749 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.4195, allocations: 89.14 kB / 0.775 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.4195, allocations: 0 / 0.775 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4196, allocations: 4.25 kB / 0.775 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4196, allocations: 3.984 kB / 0.775 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4196, allocations: 15.94 kB / 0.775 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.4197, allocations: 75.28 kB / 0.775 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4197, allocations: 0 / 0.775 GB, free: 11.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002329/0.4199, allocations: 16 kB / 0.7751 GB, free: 11.11 MB / 0.545 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.0001292/0.4201, allocations: 107.1 kB / 0.7752 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.4202, allocations: 47.91 kB / 0.7752 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4202, allocations: 0 / 0.7752 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.389e-05/0.4202, allocations: 15.98 kB / 0.7752 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.4205, allocations: 10.19 kB / 0.7752 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.4211, allocations: 360.2 kB / 0.7756 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.4213, allocations: 0.6807 MB / 0.7762 GB, free: 9.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.4213, allocations: 11.44 kB / 0.7763 GB, free: 9.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4213, allocations: 0 / 0.7763 GB, free: 9.82 MB / 0.545 GB Notification: Performance of Templates: time 0.001973/0.4233, allocations: 0.7733 MB / 0.777 GB, free: 9.047 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)