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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2456/0.2488, allocations: 80.82 MB / 0.6706 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002947/0.2518, allocations: 1.26 MB / 0.6718 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.2566, allocations: 3.257 MB / 0.675 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.518e-05/0.2566, allocations: 3.938 kB / 0.675 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2567, allocations: 3.938 kB / 0.675 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.095e-05/0.2568, allocations: 3.984 kB / 0.675 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.2574, allocations: 115.5 kB / 0.6751 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.2575, allocations: 31.92 kB / 0.6751 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.2575, allocations: 3.984 kB / 0.6752 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.2576, allocations: 19.92 kB / 0.6752 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.103e-05/0.2577, allocations: 19.92 kB / 0.6752 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2577, allocations: 4 kB / 0.6752 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.258, allocations: 75.8 kB / 0.6753 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.258, allocations: 7.984 kB / 0.6753 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.2581, allocations: 15.92 kB / 0.6753 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.2583, allocations: 75.8 kB / 0.6754 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2583, allocations: 0 / 0.6754 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2583, allocations: 0 / 0.6754 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.2583, allocations: 3.938 kB / 0.6754 GB, free: 13.11 MB / 0.5137 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.0005931/0.2589, allocations: 343.5 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.259, allocations: 12.03 kB / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.2591, allocations: 8.844 kB / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2593, allocations: 168.3 kB / 0.6759 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2593, allocations: 8.375 kB / 0.6759 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.2593, allocations: 4.375 kB / 0.6759 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2595, allocations: 61.78 kB / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.2595, allocations: 0 / 0.6759 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2596, allocations: 7.938 kB / 0.676 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2596, allocations: 0 / 0.676 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.2596, allocations: 15.98 kB / 0.676 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.2599, allocations: 161.7 kB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.26, allocations: 58.5 kB / 0.6762 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.26, allocations: 16.86 kB / 0.6762 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008573/0.2609, allocations: 0.5948 MB / 0.6768 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.2609, allocations: 42.56 kB / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.261, allocations: 0 / 0.6768 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007372/0.2617, allocations: 298.2 kB / 0.6771 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.2618, allocations: 51.41 kB / 0.6771 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.2619, allocations: 101.8 kB / 0.6772 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2619, allocations: 33.64 kB / 0.6773 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.262, allocations: 84.05 kB / 0.6774 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.262, allocations: 31.55 kB / 0.6774 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.2621, allocations: 29.72 kB / 0.6774 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2622, allocations: 318.8 kB / 0.6777 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.2623, allocations: 15.98 kB / 0.6777 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.2624, allocations: 53.14 kB / 0.6778 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2625, allocations: 69.09 kB / 0.6779 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2625, allocations: 4 kB / 0.6779 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000146/0.2626, allocations: 89.55 kB / 0.6779 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2627, allocations: 6.344 kB / 0.6779 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2627, allocations: 7.938 kB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.2627, allocations: 0 / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.2628, allocations: 32.05 kB / 0.678 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2628, allocations: 4 kB / 0.678 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.2629, allocations: 3.938 kB / 0.678 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2629, allocations: 4 kB / 0.678 GB, free: 10 MB / 0.5137 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 0.0001097/0.263, allocations: 113.8 kB / 0.6781 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.263, allocations: 7.906 kB / 0.6781 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.2631, allocations: 15.89 kB / 0.6781 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2631, allocations: 3.938 kB / 0.6781 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2631, allocations: 0 / 0.6781 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.2631, allocations: 11.94 kB / 0.6781 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.2634, allocations: 173.7 kB / 0.6783 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2634, allocations: 4 kB / 0.6783 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.2635, allocations: 12 kB / 0.6783 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2635, allocations: 0 / 0.6783 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2635, allocations: 4.422 kB / 0.6783 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2635, allocations: 0 / 0.6783 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2635, allocations: 4 kB / 0.6783 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2638, allocations: 167.5 kB / 0.6785 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.2638, allocations: 97.36 kB / 0.6786 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.2639, allocations: 0 / 0.6786 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.264, allocations: 4 kB / 0.6786 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.264, allocations: 7.984 kB / 0.6786 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.264, allocations: 3.938 kB / 0.6786 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.2641, allocations: 83.27 kB / 0.6787 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2641, allocations: 0 / 0.6787 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002323/0.2643, allocations: 16 kB / 0.6787 GB, free: 9.191 MB / 0.5137 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.0001529/0.2645, allocations: 107.2 kB / 0.6788 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.2646, allocations: 39.91 kB / 0.6788 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2647, allocations: 4 kB / 0.6788 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.2647, allocations: 19.92 kB / 0.6789 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.265, allocations: 4 kB / 0.6789 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.2656, allocations: 330.5 kB / 0.6792 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.266, allocations: 0.6852 MB / 0.6798 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.011e-05/0.266, allocations: 11.77 kB / 0.6799 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.2661, allocations: 19.38 kB / 0.6799 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2661, allocations: 0 / 0.6799 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of Templates: time 0.003109/0.2692, allocations: 0.6246 MB / 0.6805 GB, free: 7.301 MB / 0.5137 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)