Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 100.1 kB / 15.88 MB, free: 12 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.001788/0.001788, allocations: 200.3 kB / 16.79 MB, free: 6.809 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 65.05 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2899, allocations: 157.4 MB / 1.053 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002646/0.2926, allocations: 1.337 MB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2938, allocations: 0.6307 MB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.2938, allocations: 0 / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.2939, allocations: 3.938 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.2939, allocations: 0 / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.2945, allocations: 127.6 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.2946, allocations: 27.86 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.2946, allocations: 0 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.2947, allocations: 7.938 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.2947, allocations: 7.938 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2947, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.2952, allocations: 347.4 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.2952, allocations: 4 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.2953, allocations: 11.94 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.2955, allocations: 92.11 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.2955, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.609e-06/0.2955, allocations: 11.92 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.2955, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 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.0004417/0.296, allocations: 359.4 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.296, allocations: 11.97 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.2961, allocations: 0.9375 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.2962, allocations: 172.3 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2962, allocations: 384 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.2962, allocations: 4.375 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2963, allocations: 42.25 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.2963, allocations: 192 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.2964, allocations: 7.938 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2964, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.2964, allocations: 12 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.2966, allocations: 157.6 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2968, allocations: 50.61 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.2969, allocations: 20.88 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2969, allocations: 4 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2969, allocations: 30.56 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2969, allocations: 0 / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0006533/0.2976, allocations: 318.1 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2976, allocations: 63.28 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.2977, allocations: 101.8 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2977, allocations: 29.7 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.2978, allocations: 80.14 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.2978, allocations: 15.72 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.2978, allocations: 25.7 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.2979, allocations: 314.8 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.298, allocations: 8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.298, allocations: 11.98 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.2981, allocations: 36.86 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.2981, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.841e-05/0.2982, allocations: 61.69 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2982, allocations: 11.88 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2982, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2982, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.2983, allocations: 12 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2983, allocations: 0 / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.2983, allocations: 3.984 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-06/0.2983, allocations: 8 kB / 1.057 GB, free: 3.547 MB / 0.8106 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 6.669e-05/0.2984, allocations: 109.8 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.2984, allocations: 11.84 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.2986, allocations: 73.59 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2986, allocations: 0 / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2986, allocations: 0 / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2986, allocations: 3.984 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.2989, allocations: 311.4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2989, allocations: 8.031 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.299, allocations: 12.12 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.299, allocations: 4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.299, allocations: 4 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.299, allocations: 240 / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.299, allocations: 3.938 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.2992, allocations: 180.3 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.2993, allocations: 93.09 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2993, allocations: 0 / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.2994, allocations: 8 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.2994, allocations: 3.938 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2994, allocations: 7.938 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.2995, allocations: 79.27 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2995, allocations: 4 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002597/0.2997, allocations: 23.94 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001833/0.2999, allocations: 123.2 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3, allocations: 31.98 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.3001, allocations: 19.94 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.3003, allocations: 5.156 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3007, allocations: 242.9 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.301, allocations: 0.6809 MB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.301, allocations: 11.44 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.301, allocations: 7.938 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of Templates: time 0.002241/0.3032, allocations: 0.7777 MB / 1.06 GB, free: 0.5547 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)