Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 109.4 kB / 20.47 MB, free: 4.605 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 229.5 kB / 23.78 MB, free: 2.105 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.051/1.051, allocations: 230.6 MB / 257.5 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.039/2.039, allocations: 0.4898 GB / 0.7964 GB, free: 2.379 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.89 kB / 1.155 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7633, allocations: 176.2 MB / 1.327 GB, free: 9.523 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001704/0.765, allocations: 1.31 MB / 1.329 GB, free: 8.203 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0007077/0.7657, allocations: 0.5538 MB / 1.329 GB, free: 7.648 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.7658, allocations: 0 / 1.329 GB, free: 7.648 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.7658, allocations: 0 / 1.329 GB, free: 7.648 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.817e-05/0.7658, allocations: 3.938 kB / 1.329 GB, free: 7.645 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.7663, allocations: 164.5 kB / 1.329 GB, free: 7.484 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.7663, allocations: 31.86 kB / 1.329 GB, free: 7.453 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.7664, allocations: 3.984 kB / 1.329 GB, free: 7.449 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.7664, allocations: 8 kB / 1.329 GB, free: 7.441 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.7665, allocations: 15.92 kB / 1.329 GB, free: 7.426 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.7665, allocations: 4 kB / 1.329 GB, free: 7.422 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.7668, allocations: 319.4 kB / 1.33 GB, free: 7.109 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.7668, allocations: 3.984 kB / 1.33 GB, free: 7.105 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.7668, allocations: 11.94 kB / 1.33 GB, free: 7.094 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.767, allocations: 145.4 kB / 1.33 GB, free: 6.953 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.767, allocations: 4 kB / 1.33 GB, free: 6.949 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.813e-06/0.767, allocations: 3.938 kB / 1.33 GB, free: 6.945 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.767, allocations: 0 / 1.33 GB, free: 6.945 MB / 1.01 GB 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.0003407/0.7673, allocations: 297.9 kB / 1.33 GB, free: 6.621 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.7674, allocations: 12.03 kB / 1.33 GB, free: 6.609 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.7674, allocations: 4.875 kB / 1.33 GB, free: 6.605 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.858e-05/0.7675, allocations: 110.5 kB / 1.33 GB, free: 6.473 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.7675, allocations: 384 / 1.33 GB, free: 6.473 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.7675, allocations: 8.375 kB / 1.33 GB, free: 6.465 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.7677, allocations: 105.6 kB / 1.33 GB, free: 6.344 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7677, allocations: 4.188 kB / 1.33 GB, free: 6.34 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7677, allocations: 7.938 kB / 1.33 GB, free: 6.332 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7677, allocations: 0 / 1.33 GB, free: 6.332 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.7677, allocations: 23.92 kB / 1.33 GB, free: 6.309 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.7678, allocations: 105.3 kB / 1.33 GB, free: 6.176 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/0.7679, allocations: 58.5 kB / 1.33 GB, free: 6.109 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.768, allocations: 32.84 kB / 1.33 GB, free: 6.074 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.768, allocations: 0 / 1.33 GB, free: 6.074 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.768, allocations: 34.56 kB / 1.331 GB, free: 6.031 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 6.42e-07/0.768, allocations: 0 / 1.331 GB, free: 6.031 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0007477/0.7687, allocations: 451.8 kB / 1.331 GB, free: 5.535 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.7688, allocations: 59.28 kB / 1.331 GB, free: 5.465 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.7688, allocations: 101.8 kB / 1.331 GB, free: 5.355 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.7688, allocations: 25.7 kB / 1.331 GB, free: 5.324 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.7689, allocations: 84.14 kB / 1.331 GB, free: 5.238 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.7689, allocations: 43.67 kB / 1.331 GB, free: 5.195 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.7689, allocations: 25.72 kB / 1.331 GB, free: 5.164 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.769, allocations: 319 kB / 1.332 GB, free: 4.844 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.769, allocations: 20 kB / 1.332 GB, free: 4.824 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.7691, allocations: 23.98 kB / 1.332 GB, free: 4.801 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.573e-05/0.7691, allocations: 55.73 kB / 1.332 GB, free: 4.746 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.7691, allocations: 0 / 1.332 GB, free: 4.746 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.455e-05/0.7692, allocations: 101.6 kB / 1.332 GB, free: 4.641 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7692, allocations: 14.12 kB / 1.332 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7692, allocations: 0 / 1.332 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7692, allocations: 0 / 1.332 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.402e-05/0.7693, allocations: 23.98 kB / 1.332 GB, free: 4.605 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7693, allocations: 4 kB / 1.332 GB, free: 4.602 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.24e-05/0.7693, allocations: 4 kB / 1.332 GB, free: 4.598 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.7693, allocations: 4 kB / 1.332 GB, free: 4.594 MB / 1.01 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 6.037e-05/0.7694, allocations: 110.5 kB / 1.332 GB, free: 4.477 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.7694, allocations: 11.88 kB / 1.332 GB, free: 4.465 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.7695, allocations: 117.5 kB / 1.332 GB, free: 4.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7695, allocations: 4 kB / 1.332 GB, free: 4.336 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7695, allocations: 0 / 1.332 GB, free: 4.336 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7696, allocations: 0 / 1.332 GB, free: 4.336 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.7698, allocations: 290.1 kB / 1.332 GB, free: 4.016 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7698, allocations: 0 / 1.332 GB, free: 4.016 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.7699, allocations: 27.98 kB / 1.332 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7699, allocations: 0 / 1.332 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.7699, allocations: 0 / 1.332 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7699, allocations: 0 / 1.332 GB, free: 3.988 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7699, allocations: 3.938 kB / 1.332 GB, free: 3.984 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.7701, allocations: 219.8 kB / 1.333 GB, free: 3.754 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.7701, allocations: 11.95 kB / 1.333 GB, free: 3.742 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.7701, allocations: 4 kB / 1.333 GB, free: 3.738 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.7701, allocations: 4 kB / 1.333 GB, free: 3.734 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.7701, allocations: 3.984 kB / 1.333 GB, free: 3.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.7701, allocations: 8.062 kB / 1.333 GB, free: 3.723 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.7702, allocations: 83.28 kB / 1.333 GB, free: 3.641 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7702, allocations: 0 / 1.333 GB, free: 3.641 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001767/0.7703, allocations: 51.8 kB / 1.333 GB, free: 3.59 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001694/0.7705, allocations: 154.9 kB / 1.333 GB, free: 3.43 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.7706, allocations: 63.95 kB / 1.333 GB, free: 3.367 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.7706, allocations: 4 kB / 1.333 GB, free: 3.363 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.758e-05/0.7706, allocations: 28 kB / 1.333 GB, free: 3.336 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.7708, allocations: 6.469 kB / 1.333 GB, free: 3.332 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.7712, allocations: 326.9 kB / 1.333 GB, free: 2.98 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.7712, allocations: 71.33 kB / 1.333 GB, free: 2.891 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.7713, allocations: 11.44 kB / 1.333 GB, free: 2.879 MB / 1.01 GB Notification: Performance of SimCode: time 4.61e-07/0.7713, allocations: 0 / 1.333 GB, free: 2.879 MB / 1.01 GB Notification: Performance of Templates: time 0.002026/0.7733, allocations: 1.373 MB / 1.335 GB, free: 1.516 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -emit_protected > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.309614474885166]