Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_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_9_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.001308/0.001308, allocations: 104.4 kB / 15.98 MB, free: 6.359 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.001398/0.001398, allocations: 199.3 kB / 16.91 MB, free: 6.191 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.2 MB / 0.665 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.34 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002812/0.3115, allocations: 1.348 MB / 0.9511 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3126, allocations: 0.6111 MB / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.3127, allocations: 0 / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.3127, allocations: 0 / 0.9517 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.3128, allocations: 7.922 kB / 0.9517 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.3135, allocations: 131.5 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.3136, allocations: 27.92 kB / 0.9518 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.3136, allocations: 0 / 0.9518 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.3137, allocations: 7.938 kB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.3137, allocations: 7.984 kB / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3138, allocations: 0 / 0.9519 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005023/0.3143, allocations: 347.3 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.3143, allocations: 7.938 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.3143, allocations: 7.938 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3145, allocations: 100.1 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3145, allocations: 3.938 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3145, allocations: 0 / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3146, allocations: 4 kB / 0.9523 GB, free: 6.598 MB / 0.7325 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.0004487/0.315, allocations: 359.4 kB / 0.9527 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3151, allocations: 8.031 kB / 0.9527 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.3151, allocations: 8.922 kB / 0.9527 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3153, allocations: 172.2 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3153, allocations: 384 / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3153, allocations: 4.375 kB / 0.9528 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3154, allocations: 38.25 kB / 0.9529 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3155, allocations: 4.188 kB / 0.9529 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3155, allocations: 7.938 kB / 0.9529 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3155, allocations: 0 / 0.9529 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.3155, allocations: 8 kB / 0.9529 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.3157, allocations: 161.7 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.316, allocations: 46.55 kB / 0.9531 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.316, allocations: 20.94 kB / 0.9531 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3161, allocations: 0 / 0.9531 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3161, allocations: 34.56 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.3161, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0006839/0.3168, allocations: 306.2 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.3169, allocations: 55.39 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.3169, allocations: 97.86 kB / 0.9536 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3169, allocations: 25.7 kB / 0.9536 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/0.317, allocations: 84.14 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.317, allocations: 23.7 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3171, allocations: 17.72 kB / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3172, allocations: 314.8 kB / 0.954 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.3172, allocations: 15.98 kB / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.3172, allocations: 19.98 kB / 0.9541 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.641e-05/0.3173, allocations: 36.8 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3173, allocations: 0 / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.746e-05/0.3174, allocations: 65.67 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3174, allocations: 11.94 kB / 0.9542 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3174, allocations: 0.5156 kB / 0.9542 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3175, allocations: 3.938 kB / 0.9542 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.438e-05/0.3175, allocations: 15.92 kB / 0.9542 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3175, allocations: 4 kB / 0.9542 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.3176, allocations: 0 / 0.9542 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3176, allocations: 4 kB / 0.9542 GB, free: 4.391 MB / 0.7325 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 7.352e-05/0.3177, allocations: 109.8 kB / 0.9543 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.3177, allocations: 11.84 kB / 0.9543 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.3178, allocations: 73.62 kB / 0.9544 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3178, allocations: 4 kB / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3178, allocations: 0 / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3179, allocations: 0 / 0.9544 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3182, allocations: 315.4 kB / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3182, allocations: 0 / 0.9547 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.3183, allocations: 15.98 kB / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3183, allocations: 0 / 0.9547 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3183, allocations: 4.031 kB / 0.9547 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3183, allocations: 3.938 kB / 0.9547 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3183, allocations: 4 kB / 0.9547 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.3185, allocations: 172.5 kB / 0.9549 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3186, allocations: 89.09 kB / 0.955 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3186, allocations: 4 kB / 0.955 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.3187, allocations: 4 kB / 0.955 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.3187, allocations: 12.05 kB / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3187, allocations: 0 / 0.955 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.589e-05/0.3187, allocations: 79.28 kB / 0.9551 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3187, allocations: 0 / 0.9551 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002499/0.319, allocations: 27.94 kB / 0.9551 GB, free: 3.363 MB / 0.7325 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.0001832/0.3192, allocations: 119.2 kB / 0.9552 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3193, allocations: 31.98 kB / 0.9552 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3193, allocations: 11.94 kB / 0.9552 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.3194, allocations: 19.92 kB / 0.9553 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3196, allocations: 7.938 kB / 0.9553 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.3201, allocations: 238.1 kB / 0.9555 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3203, allocations: 0.6844 MB / 0.9562 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.3203, allocations: 11.44 kB / 0.9562 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3203, allocations: 0 / 0.9562 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.002393/0.3227, allocations: 0.7951 MB / 0.957 GB, free: 1.391 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)