Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.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.001279/0.001279, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.001591/0.001591, allocations: 215.4 kB / 23 MB, free: 2.945 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.108/1.108, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.441/2.441, allocations: 0.5701 GB / 0.876 GB, free: 16.53 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 68.92 kB / 1.275 GB, free: 13.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3547, allocations: 196.8 MB / 1.467 GB, free: 3.727 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.00225/0.3569, allocations: 1.336 MB / 1.468 GB, free: 2.379 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.3579, allocations: 0.5428 MB / 1.469 GB, free: 1.836 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.47e-05/0.3579, allocations: 4 kB / 1.469 GB, free: 1.832 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.3579, allocations: 7.922 kB / 1.469 GB, free: 1.824 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.358, allocations: 0 / 1.469 GB, free: 1.824 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005772/0.3586, allocations: 159.4 kB / 1.469 GB, free: 1.668 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.3587, allocations: 19.86 kB / 1.469 GB, free: 1.648 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.3587, allocations: 4 kB / 1.469 GB, free: 1.645 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 5.492e-05/0.3588, allocations: 11.94 kB / 1.469 GB, free: 1.633 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 8.387e-05/0.3589, allocations: 11.92 kB / 1.469 GB, free: 1.621 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.3589, allocations: 0 / 1.469 GB, free: 1.621 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.3592, allocations: 311.5 kB / 1.469 GB, free: 1.316 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.3592, allocations: 0 / 1.469 GB, free: 1.316 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.3593, allocations: 11.94 kB / 1.469 GB, free: 1.305 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.3595, allocations: 143.6 kB / 1.47 GB, free: 1.164 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3595, allocations: 4 kB / 1.47 GB, free: 1.16 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3595, allocations: 0 / 1.47 GB, free: 1.16 MB / 1.135 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.3595, allocations: 0 / 1.47 GB, free: 1.16 MB / 1.135 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.000498/0.36, allocations: 295.6 kB / 1.47 GB, free: 0.8398 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3601, allocations: 8.031 kB / 1.47 GB, free: 0.832 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3601, allocations: 0.9375 kB / 1.47 GB, free: 0.832 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3602, allocations: 110.5 kB / 1.47 GB, free: 0.6992 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3602, allocations: 384 / 1.47 GB, free: 0.6992 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.3603, allocations: 8.375 kB / 1.47 GB, free: 0.6914 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3604, allocations: 75.81 kB / 1.47 GB, free: 0.6055 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3604, allocations: 4.188 kB / 1.47 GB, free: 0.6016 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3605, allocations: 7.938 kB / 1.47 GB, free: 0.5938 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.3605, allocations: 0 / 1.47 GB, free: 0.5938 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.817e-05/0.3605, allocations: 4 kB / 1.47 GB, free: 0.5898 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.3607, allocations: 113.3 kB / 1.47 GB, free: 460 kB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.3609, allocations: 42.61 kB / 1.47 GB, free: 408 kB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.3609, allocations: 16.8 kB / 1.47 GB, free: 388 kB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.361, allocations: 4 kB / 1.47 GB, free: 384 kB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.361, allocations: 30.56 kB / 1.47 GB, free: 344 kB / 1.135 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.361, allocations: 0 / 1.47 GB, free: 344 kB / 1.135 GB Notification: Performance of matching and sorting (n=6): time 0.0006467/0.3616, allocations: 245.1 kB / 1.471 GB, free: 64 kB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.3617, allocations: 51.41 kB / 1.471 GB, free: 0 / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.3617, allocations: 93.86 kB / 1.471 GB, free: 15.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3618, allocations: 29.7 kB / 1.471 GB, free: 15.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.3618, allocations: 80.14 kB / 1.471 GB, free: 15.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3618, allocations: 19.84 kB / 1.471 GB, free: 15.76 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3619, allocations: 17.72 kB / 1.471 GB, free: 15.74 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.3619, allocations: 322.8 kB / 1.471 GB, free: 15.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.362, allocations: 8 kB / 1.471 GB, free: 15.41 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.362, allocations: 11.98 kB / 1.471 GB, free: 15.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.955e-05/0.362, allocations: 44.78 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.362, allocations: 0 / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.213e-05/0.3621, allocations: 57.7 kB / 1.471 GB, free: 15.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3621, allocations: 14.27 kB / 1.471 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3621, allocations: 3.938 kB / 1.471 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3621, allocations: 3.938 kB / 1.471 GB, free: 15.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.3622, allocations: 16 kB / 1.471 GB, free: 15.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3622, allocations: 0 / 1.471 GB, free: 15.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.3622, allocations: 0 / 1.471 GB, free: 15.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3622, allocations: 0 / 1.471 GB, free: 15.25 MB / 1.151 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 5.804e-05/0.3623, allocations: 121.8 kB / 1.471 GB, free: 15.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.3623, allocations: 7.953 kB / 1.471 GB, free: 15.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.3624, allocations: 73.67 kB / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3624, allocations: 0 / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3624, allocations: 0 / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3624, allocations: 0.5156 kB / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3626, allocations: 259.1 kB / 1.472 GB, free: 14.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3626, allocations: 7.938 kB / 1.472 GB, free: 14.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.3627, allocations: 8 kB / 1.472 GB, free: 14.72 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3627, allocations: 192 / 1.472 GB, free: 14.72 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3627, allocations: 8 kB / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3627, allocations: 4.031 kB / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3627, allocations: 0 / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.3629, allocations: 184.3 kB / 1.472 GB, free: 14.51 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.3629, allocations: 7.891 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3629, allocations: 12.02 kB / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.363, allocations: 0 / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.363, allocations: 4 kB / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.363, allocations: 0 / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.363, allocations: 83.27 kB / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of sort global known variables: time 7e-08/0.363, allocations: 0 / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001607/0.3632, allocations: 31.94 kB / 1.472 GB, free: 14.38 MB / 1.151 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.0001567/0.3633, allocations: 139 kB / 1.472 GB, free: 14.23 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.329e-05/0.3634, allocations: 35.92 kB / 1.472 GB, free: 14.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3634, allocations: 0 / 1.472 GB, free: 14.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.3634, allocations: 23.86 kB / 1.472 GB, free: 14.17 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3636, allocations: 9.766 kB / 1.472 GB, free: 14.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.3639, allocations: 230.3 kB / 1.472 GB, free: 13.91 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4e-05/0.3639, allocations: 71.28 kB / 1.473 GB, free: 13.82 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.364, allocations: 11.44 kB / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.3e-07/0.364, allocations: 0 / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of Templates: time 0.001815/0.3658, allocations: 0.9372 MB / 1.473 GB, free: 12.88 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.512426135130227]