Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001783/0.001782, allocations: 107.6 kB / 16.27 MB, free: 6.41 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.001958/0.001958, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437.1 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 60 kB / 0.8699 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3196, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002751/0.3224, allocations: 1.469 MB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3235, allocations: 0.6437 MB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.3236, allocations: 0 / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.3236, allocations: 3.938 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.3237, allocations: 3.938 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.3243, allocations: 164.5 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.323e-05/0.3244, allocations: 51.89 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.3244, allocations: 11.89 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.721e-05/0.3245, allocations: 19.92 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.3246, allocations: 31.84 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.3246, allocations: 4 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.3251, allocations: 347.3 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.3251, allocations: 12 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.3252, allocations: 31.84 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3255, allocations: 175.8 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3255, allocations: 4 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3255, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3255, allocations: 0 / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000629/0.3261, allocations: 395.3 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3262, allocations: 12.88 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.3262, allocations: 4.938 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.3264, allocations: 176.3 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3264, allocations: 8.312 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3264, allocations: 8.375 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.3267, allocations: 74.72 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3267, allocations: 192 / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3267, allocations: 7.938 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3267, allocations: 4 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.327, allocations: 51.94 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/0.3276, allocations: 324.6 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.3279, allocations: 82.47 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.328, allocations: 32.84 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.328, allocations: 4.141 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3281, allocations: 30.56 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3281, allocations: 0 / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.001698/0.3298, allocations: 0.6461 MB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3298, allocations: 55.39 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.3299, allocations: 101.7 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.33, allocations: 33.7 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.33, allocations: 100 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.3301, allocations: 35.47 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3301, allocations: 33.7 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3303, allocations: 314.9 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3304, allocations: 35.92 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3306, allocations: 35.84 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.3308, allocations: 76.95 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3308, allocations: 0 / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003219/0.3312, allocations: 117.5 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3312, allocations: 8 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3312, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3312, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.3314, allocations: 27.98 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3314, allocations: 0 / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.3315, allocations: 19.92 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3315, allocations: 4 kB / 1.024 GB, free: 4.578 MB / 0.795 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 (13): * Single equations (assignments): 13 * 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 9.508e-05/0.3316, allocations: 117.8 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3316, allocations: 4 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.332, allocations: 125.5 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.332, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.332, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.332, allocations: 11.94 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005745/0.3326, allocations: 374.5 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3326, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.3328, allocations: 27.97 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3328, allocations: 4 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3328, allocations: 7.875 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3328, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3328, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.3333, allocations: 251.3 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.3334, allocations: 85.23 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3334, allocations: 3.938 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3336, allocations: 11.98 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.3336, allocations: 7.984 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.3336, allocations: 12.05 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.78e-05/0.3336, allocations: 83.28 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3337, allocations: 3.938 kB / 1.025 GB, free: 3.359 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002911/0.3339, allocations: 35.94 kB / 1.025 GB, free: 3.324 MB / 0.795 GB 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 () * Number of clocked 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 (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.0002374/0.3342, allocations: 143.1 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.3345, allocations: 88.33 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.3346, allocations: 4 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3347, allocations: 51.84 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.335, allocations: 10.66 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.3357, allocations: 335.5 kB / 1.025 GB, free: 2.664 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.336, allocations: 0.6924 MB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.336, allocations: 15.42 kB / 1.026 GB, free: 1.93 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.336, allocations: 4 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of Templates: time 0.00305/0.3391, allocations: 1.317 MB / 1.027 GB, free: 0.6211 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)