Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6868/0.6868, allocations: 132.3 MB / 144.9 MB, free: 10.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009693/0.0009693, allocations: 175.2 kB / 176.9 MB, free: 2.238 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.167/1.167, allocations: 170.5 MB / 379.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001512/0.001512, allocations: 114.2 kB / 450 MB, free: 5.852 MB / 346.7 MB [/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.3963/0.3964, allocations: 73.39 MB / 0.6736 GB, free: 47.58 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.5117, allocations: 102 MB / 0.7733 GB, free: 14.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.5119, allocations: 78.58 kB / 0.7733 GB, free: 14.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006061/0.518, allocations: 2.15 MB / 0.7754 GB, free: 12.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.518, allocations: 0 / 0.7754 GB, free: 12.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.5181, allocations: 4 kB / 0.7754 GB, free: 12.49 MB / 490.7 MB 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.0002703/0.5183, allocations: 342.5 kB / 0.7758 GB, free: 12.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.5184, allocations: 8.031 kB / 0.7758 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.5184, allocations: 11.94 kB / 0.7758 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5185, allocations: 165.8 kB / 0.7759 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5186, allocations: 4 kB / 0.7759 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.5186, allocations: 7.906 kB / 0.7759 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.5189, allocations: 78.36 kB / 0.776 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5189, allocations: 4 kB / 0.776 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.5189, allocations: 3.609 kB / 0.776 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5189, allocations: 0 / 0.776 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.5191, allocations: 47.95 kB / 0.7761 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.5193, allocations: 169.6 kB / 0.7762 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.5196, allocations: 90.53 kB / 0.7763 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.5196, allocations: 24.86 kB / 0.7763 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.5199, allocations: 113.1 kB / 0.7765 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.5199, allocations: 34.56 kB / 0.7765 GB, free: 11.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.5199, allocations: 0 / 0.7765 GB, free: 11.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.003685/0.5236, allocations: 1.028 MB / 0.7775 GB, free: 10.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5236, allocations: 51.41 kB / 0.7775 GB, free: 10.06 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.5237, allocations: 89 kB / 0.7776 GB, free: 9.969 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.5237, allocations: 29.7 kB / 0.7777 GB, free: 9.934 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.5238, allocations: 80.14 kB / 0.7777 GB, free: 9.852 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.5238, allocations: 39.59 kB / 0.7778 GB, free: 9.812 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.5238, allocations: 12.12 kB / 0.7778 GB, free: 9.801 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.5239, allocations: 314.8 kB / 0.7781 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.524, allocations: 32 kB / 0.7781 GB, free: 9.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.5241, allocations: 24.88 kB / 0.7781 GB, free: 9.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.5241, allocations: 37.3 kB / 0.7782 GB, free: 9.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5241, allocations: 0 / 0.7782 GB, free: 9.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001799/0.5243, allocations: 109.6 kB / 0.7783 GB, free: 9.281 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5243, allocations: 5.719 kB / 0.7783 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5244, allocations: 7.188 kB / 0.7783 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5244, allocations: 0 / 0.7783 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.5246, allocations: 43.97 kB / 0.7783 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5246, allocations: 0 / 0.7783 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5248, allocations: 29.41 kB / 0.7784 GB, free: 9.203 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5248, allocations: 4 kB / 0.7784 GB, free: 9.199 MB / 490.7 MB 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 (13): * Single equations (assignments): 13 * 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.165e-05/0.5249, allocations: 113.9 kB / 0.7785 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.5249, allocations: 4 kB / 0.7785 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.5249, allocations: 8.094 kB / 0.7785 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5249, allocations: 7.953 kB / 0.7785 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5249, allocations: 0 / 0.7785 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5249, allocations: 0 / 0.7785 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.5254, allocations: 384.6 kB / 0.7789 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5254, allocations: 3.938 kB / 0.7789 GB, free: 8.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.5256, allocations: 51.91 kB / 0.7789 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.5257, allocations: 0 / 0.7789 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.5257, allocations: 7 kB / 0.7789 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5257, allocations: 7.812 kB / 0.7789 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5257, allocations: 0 / 0.7789 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.526, allocations: 235.5 kB / 0.7791 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.526, allocations: 89.03 kB / 0.7792 GB, free: 8.223 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.5261, allocations: 7.953 kB / 0.7792 GB, free: 8.215 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.5262, allocations: 19.98 kB / 0.7793 GB, free: 8.195 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.5263, allocations: 11.92 kB / 0.7793 GB, free: 8.184 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.5263, allocations: 8 kB / 0.7793 GB, free: 8.176 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.118e-05/0.5263, allocations: 79.34 kB / 0.7794 GB, free: 8.098 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5263, allocations: 0 / 0.7794 GB, free: 8.098 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.5266, allocations: 20 kB / 0.7794 GB, free: 8.078 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000113/0.5267, allocations: 107.2 kB / 0.7795 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5268, allocations: 72.94 kB / 0.7795 GB, free: 7.895 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5269, allocations: 0 / 0.7795 GB, free: 7.895 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.5269, allocations: 47.92 kB / 0.7796 GB, free: 7.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.5271, allocations: 5.641 kB / 0.7796 GB, free: 7.844 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009998/0.5281, allocations: 401.2 kB / 0.78 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.5283, allocations: 0.6887 MB / 0.7806 GB, free: 6.719 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.5284, allocations: 15.94 kB / 0.7807 GB, free: 6.703 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.5285, allocations: 15.42 kB / 0.7807 GB, free: 6.688 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5285, allocations: 0 / 0.7807 GB, free: 6.688 MB / 490.7 MB Notification: Performance of Templates: time 0.002439/0.5309, allocations: 0.8334 MB / 0.7815 GB, free: 5.902 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)