Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009149, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 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: 176.2 kB / 16.92 MB, free: 6.652 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003705, allocations: 11.98 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6458, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001609/0.6474, allocations: 1.004 MB / 1.025 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.6486, allocations: 0.6113 MB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.6486, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.6486, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.6487, allocations: 3.938 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.6493, allocations: 123.5 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.6493, allocations: 27.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.6494, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.6494, allocations: 7.938 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.6495, allocations: 7.984 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.6495, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005789/0.6501, allocations: 347.3 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.6501, allocations: 7.938 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.6502, allocations: 33.64 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.6504, allocations: 97.78 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.6504, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6504, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6504, allocations: 8 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004472/0.6509, allocations: 347.5 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.6509, allocations: 15.92 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.651, allocations: 4.938 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.6511, allocations: 168.3 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.6511, allocations: 4.375 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.6511, allocations: 4.375 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.6513, allocations: 38.25 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6513, allocations: 8.125 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6513, allocations: 3.938 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.6513, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.6514, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.6516, allocations: 161.6 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.6518, allocations: 42.61 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.6518, allocations: 20.94 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.6519, allocations: 4 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.6519, allocations: 42.5 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.6519, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006871/0.6526, allocations: 310.5 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.6527, allocations: 59.39 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.6527, allocations: 101.8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.6528, allocations: 25.7 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.6528, allocations: 84.14 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.6528, allocations: 27.64 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.6529, allocations: 9.719 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.653, allocations: 314.8 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.653, allocations: 8 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.6531, allocations: 19.97 kB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.6531, allocations: 32.86 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6531, allocations: 0 / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001162/0.6533, allocations: 61.62 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6533, allocations: 18.12 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6533, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6533, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.6534, allocations: 11.98 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6534, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.991e-05/0.6534, allocations: 8 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.6534, allocations: 0 / 1.028 GB, free: 11.37 MB / 0.7794 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.625e-05/0.6535, allocations: 110.4 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.6535, allocations: 3.938 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.6537, allocations: 81.58 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6538, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6538, allocations: 3.938 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6538, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.6541, allocations: 319.2 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6541, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.407e-05/0.6542, allocations: 12 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.6542, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.6542, allocations: 8.203 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.6542, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6543, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.6545, allocations: 176.3 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.6545, allocations: 81.09 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.6545, allocations: 8.031 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.6546, allocations: 0 / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.6547, allocations: 8.062 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.6547, allocations: 3.938 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.6547, allocations: 83.27 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6547, allocations: 0 / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002542/0.655, allocations: 24 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002046/0.6552, allocations: 119.2 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.6553, allocations: 35.92 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6553, allocations: 4 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.6553, allocations: 16 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.6556, allocations: 11.92 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.656, allocations: 262.3 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.6563, allocations: 0.677 MB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.6564, allocations: 15.44 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6564, allocations: 0 / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of Templates: time 0.002501/0.6589, allocations: 0.7772 MB / 1.031 GB, free: 8.363 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)