Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0009637/0.0009637, 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.001059/0.001059, allocations: 210.8 kB / 23 MB, free: 2.973 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 0.9923/0.9923, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.416/2.416, 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.PowerLaw_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.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 68.53 kB / 1.275 GB, free: 14.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3207, allocations: 196.8 MB / 1.467 GB, free: 3.758 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.002014/0.3227, allocations: 1.383 MB / 1.468 GB, free: 2.363 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3237, allocations: 0.9129 MB / 1.469 GB, free: 1.445 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.3238, allocations: 0 / 1.469 GB, free: 1.445 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.3238, allocations: 3.938 kB / 1.469 GB, free: 1.441 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.3239, allocations: 11.92 kB / 1.469 GB, free: 1.43 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009184/0.3248, allocations: 274.9 kB / 1.47 GB, free: 1.16 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3249, allocations: 39.86 kB / 1.47 GB, free: 1.121 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 6.157e-05/0.3249, allocations: 11.98 kB / 1.47 GB, free: 1.109 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.325, allocations: 19.86 kB / 1.47 GB, free: 1.09 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.3251, allocations: 23.86 kB / 1.47 GB, free: 1.066 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3251, allocations: 4 kB / 1.47 GB, free: 1.062 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.3257, allocations: 491.3 kB / 1.47 GB, free: 0.582 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.3257, allocations: 7.984 kB / 1.47 GB, free: 0.5742 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.3257, allocations: 23.86 kB / 1.47 GB, free: 0.5508 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.3261, allocations: 295.2 kB / 1.471 GB, free: 268 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3261, allocations: 0 / 1.471 GB, free: 268 kB / 1.135 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3261, allocations: 0 / 1.471 GB, free: 268 kB / 1.135 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.3261, allocations: 0 / 1.471 GB, free: 268 kB / 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.0004626/0.3266, allocations: 361.2 kB / 1.471 GB, free: 15.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3266, allocations: 11.98 kB / 1.471 GB, free: 15.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3267, allocations: 8.891 kB / 1.471 GB, free: 15.86 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.3268, allocations: 110.5 kB / 1.471 GB, free: 15.73 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3268, allocations: 4.375 kB / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3268, allocations: 4.359 kB / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3269, allocations: 79.39 kB / 1.471 GB, free: 15.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3269, allocations: 0 / 1.471 GB, free: 15.63 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3269, allocations: 7.984 kB / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3269, allocations: 0 / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.327, allocations: 8 kB / 1.471 GB, free: 15.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.3271, allocations: 129.2 kB / 1.471 GB, free: 15.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.3274, allocations: 50.55 kB / 1.471 GB, free: 15.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.3275, allocations: 20.94 kB / 1.471 GB, free: 15.38 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3275, allocations: 4 kB / 1.471 GB, free: 15.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3275, allocations: 30.56 kB / 1.471 GB, free: 15.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.3275, allocations: 0 / 1.471 GB, free: 15.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=6): time 0.0008369/0.3284, allocations: 261.1 kB / 1.472 GB, free: 15.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3284, allocations: 51.41 kB / 1.472 GB, free: 14.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.3285, allocations: 129.4 kB / 1.472 GB, free: 14.85 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.3285, allocations: 33.7 kB / 1.472 GB, free: 14.81 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.3286, allocations: 92.08 kB / 1.472 GB, free: 14.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.3286, allocations: 15.86 kB / 1.472 GB, free: 14.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.3286, allocations: 29.7 kB / 1.472 GB, free: 14.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.3287, allocations: 318.8 kB / 1.472 GB, free: 14.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/0.3287, allocations: 35.98 kB / 1.472 GB, free: 14.31 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.3288, allocations: 35.92 kB / 1.472 GB, free: 14.27 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.3289, allocations: 82.84 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3289, allocations: 0 / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001324/0.329, allocations: 121.6 kB / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.329, allocations: 8 kB / 1.472 GB, free: 14.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.329, allocations: 7.938 kB / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3291, allocations: 0 / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.3291, allocations: 12 kB / 1.472 GB, free: 14.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3291, allocations: 0 / 1.472 GB, free: 14.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.3291, allocations: 4 kB / 1.472 GB, free: 14.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.3291, allocations: 7.984 kB / 1.472 GB, free: 14.03 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.761e-05/0.3292, allocations: 113.7 kB / 1.473 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.3292, allocations: 11.89 kB / 1.473 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.3294, allocations: 86.05 kB / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3294, allocations: 4 kB / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3294, allocations: 0 / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3294, allocations: 0 / 1.473 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.3297, allocations: 286.9 kB / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3297, allocations: 0 / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.304e-05/0.3297, allocations: 12.19 kB / 1.473 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3297, allocations: 3.984 kB / 1.473 GB, free: 13.46 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3297, allocations: 8 kB / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3297, allocations: 3.938 kB / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.3297, allocations: 0 / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.3299, allocations: 192.3 kB / 1.473 GB, free: 13.24 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3299, allocations: 16.06 kB / 1.473 GB, free: 13.23 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3299, allocations: 0 / 1.473 GB, free: 13.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.72e-05/0.33, allocations: 4.328 kB / 1.473 GB, free: 13.22 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.33, allocations: 3.984 kB / 1.473 GB, free: 13.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.33, allocations: 8 kB / 1.473 GB, free: 13.21 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.209e-05/0.3301, allocations: 95.27 kB / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3301, allocations: 0 / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002317/0.3303, allocations: 63.73 kB / 1.473 GB, free: 13.05 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.0002254/0.3305, allocations: 162.9 kB / 1.474 GB, free: 12.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.3307, allocations: 85.69 kB / 1.474 GB, free: 12.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3307, allocations: 0 / 1.474 GB, free: 12.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.648e-05/0.3307, allocations: 23.92 kB / 1.474 GB, free: 12.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.3309, allocations: 15.88 kB / 1.474 GB, free: 12.76 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/0.3313, allocations: 254.5 kB / 1.474 GB, free: 12.48 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.3314, allocations: 71.33 kB / 1.474 GB, free: 12.39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.3314, allocations: 11.44 kB / 1.474 GB, free: 12.38 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/0.3314, allocations: 0 / 1.474 GB, free: 12.38 MB / 1.151 GB Notification: Performance of Templates: time 0.002568/0.334, allocations: 1.431 MB / 1.475 GB, free: 10.95 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.14365481492132]