Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.00103/0.00103, allocations: 84.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.001018/0.001018, allocations: 173.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9401/0.9401, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.284/2.284, allocations: 439.8 MB / 0.6834 GB, free: 12.89 MB / 0.6511 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_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.6e-05, allocations: 6.281 kB / 1.082 GB, free: 24.74 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001575/0.001601, allocations: 1.347 MB / 1.084 GB, free: 23.8 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006574/0.002259, allocations: 0.5736 MB / 1.084 GB, free: 23.44 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.002285, allocations: 3.938 kB / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.002304, allocations: 3.938 kB / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.002338, allocations: 3.281 kB / 1.084 GB, free: 23.43 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.002772, allocations: 168.2 kB / 1.084 GB, free: 23.35 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.002833, allocations: 34.84 kB / 1.084 GB, free: 23.34 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.002875, allocations: 0 / 1.084 GB, free: 23.34 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.002911, allocations: 17.83 kB / 1.084 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.002963, allocations: 6 kB / 1.085 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.002976, allocations: 2.625 kB / 1.085 GB, free: 23.33 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.003256, allocations: 315.3 kB / 1.085 GB, free: 23.26 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.003273, allocations: 14.55 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.003294, allocations: 12.58 kB / 1.085 GB, free: 23.24 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.003489, allocations: 168.1 kB / 1.085 GB, free: 23.18 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003491, allocations: 2.625 kB / 1.085 GB, free: 23.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.513e-06/0.003492, allocations: 0 / 1.085 GB, free: 23.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003497, allocations: 0 / 1.085 GB, free: 23.18 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.0003133/0.00381, allocations: 297.6 kB / 1.085 GB, free: 22.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.003851, allocations: 7.875 kB / 1.085 GB, free: 22.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.003885, allocations: 7.516 kB / 1.085 GB, free: 22.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.091e-05/0.003946, allocations: 107.6 kB / 1.085 GB, free: 22.76 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.003958, allocations: 3 kB / 1.085 GB, free: 22.76 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.003983, allocations: 7 kB / 1.085 GB, free: 22.75 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.004097, allocations: 107.5 kB / 1.086 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004107, allocations: 192 / 1.086 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.004119, allocations: 10.94 kB / 1.086 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.004123, allocations: 384 / 1.086 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.00417, allocations: 25.09 kB / 1.086 GB, free: 22.63 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.757e-05/0.004267, allocations: 105.2 kB / 1.086 GB, free: 22.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.004349, allocations: 56.95 kB / 1.086 GB, free: 22.47 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.004379, allocations: 25.98 kB / 1.086 GB, free: 22.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.004398, allocations: 3.281 kB / 1.086 GB, free: 22.45 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.004415, allocations: 41.06 kB / 1.086 GB, free: 22.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.004416, allocations: 4 kB / 1.086 GB, free: 22.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0008157/0.005232, allocations: 455.4 kB / 1.086 GB, free: 22.06 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.005261, allocations: 54.03 kB / 1.086 GB, free: 22 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.009e-05/0.005311, allocations: 96.48 kB / 1.086 GB, free: 21.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.005319, allocations: 25.7 kB / 1.086 GB, free: 21.87 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/0.005334, allocations: 82.77 kB / 1.086 GB, free: 21.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.005367, allocations: 45.81 kB / 1.086 GB, free: 21.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.0054, allocations: 27.41 kB / 1.087 GB, free: 21.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.944e-05/0.005439, allocations: 318 kB / 1.087 GB, free: 21.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.005468, allocations: 17.12 kB / 1.087 GB, free: 21.41 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.005498, allocations: 27.09 kB / 1.087 GB, free: 21.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.792e-05/0.005566, allocations: 61.2 kB / 1.087 GB, free: 21.37 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.005567, allocations: 0 / 1.087 GB, free: 21.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001032/0.00567, allocations: 95.06 kB / 1.087 GB, free: 21.31 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.005684, allocations: 5.25 kB / 1.087 GB, free: 21.31 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005689, allocations: 0 / 1.087 GB, free: 21.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.005703, allocations: 3.938 kB / 1.087 GB, free: 21.31 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.005787, allocations: 25.42 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.005793, allocations: 0 / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.00581, allocations: 9.906 kB / 1.087 GB, free: 21.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.005817, allocations: 2.625 kB / 1.087 GB, free: 21.3 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 4.553e-05/0.005863, allocations: 116.4 kB / 1.087 GB, free: 21.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.005872, allocations: 6.578 kB / 1.087 GB, free: 21.18 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.006003, allocations: 103.5 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006006, allocations: 10.5 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.00601, allocations: 0 / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006015, allocations: 3 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.006277, allocations: 292.3 kB / 1.088 GB, free: 20.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.006279, allocations: 4 kB / 1.088 GB, free: 20.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.006352, allocations: 26.25 kB / 1.088 GB, free: 20.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.006355, allocations: 3.938 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.006363, allocations: 0 / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006364, allocations: 2.969 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006365, allocations: 0 / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.006522, allocations: 219.3 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.006529, allocations: 2.406 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.00654, allocations: 3.938 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.006596, allocations: 5.828 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.006614, allocations: 14.14 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.006621, allocations: 2.531 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.006636, allocations: 77.94 kB / 1.088 GB, free: 20.58 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.006636, allocations: 0 / 1.088 GB, free: 20.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002098/0.006846, allocations: 59.06 kB / 1.088 GB, free: 20.56 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001938/0.00704, allocations: 157.6 kB / 1.088 GB, free: 20.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.007152, allocations: 66.84 kB / 1.088 GB, free: 20.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.007154, allocations: 0 / 1.088 GB, free: 20.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.007184, allocations: 30.16 kB / 1.088 GB, free: 20.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.007344, allocations: 7.312 kB / 1.088 GB, free: 20.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.007715, allocations: 270.5 kB / 1.088 GB, free: 20.19 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.007754, allocations: 76.89 kB / 1.089 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.007779, allocations: 16.28 kB / 1.089 GB, free: 20.1 MB / 1.01 GB Notification: Performance of SimCode: time 5.71e-07/0.00778, allocations: 0 / 1.089 GB, free: 20.1 MB / 1.01 GB Notification: Performance of Templates: time 0.002301/0.01008, allocations: 1.381 MB / 1.09 GB, free: 19.97 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.563820073381066]