Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.000849/0.000849, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.00206, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.0007658/0.0007658, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009659/0.001732, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.8862/0.8862, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08251/0.9688, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.188/2.188, allocations: 440.5 MB / 0.6683 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2332/2.421, allocations: 143.9 MB / 0.8089 GB, free: 12.41 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8102 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.361e-05, allocations: 8.781 kB / 0.8102 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.001402/0.001416, allocations: 1.421 MB / 0.8116 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.002013, allocations: 0.5993 MB / 0.8121 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.00203, allocations: 3.938 kB / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.331e-06/0.002037, allocations: 4 kB / 0.8122 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.787e-05/0.002055, allocations: 3.938 kB / 0.8122 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.002343, allocations: 155.2 kB / 0.8123 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.002392, allocations: 19.92 kB / 0.8123 GB, free: 8.867 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.043e-05/0.002423, allocations: 4 kB / 0.8123 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.002476, allocations: 15.97 kB / 0.8123 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.002517, allocations: 11.88 kB / 0.8124 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.002526, allocations: 0 / 0.8124 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.002855, allocations: 335.3 kB / 0.8127 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.002865, allocations: 0 / 0.8127 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.279e-05/0.002878, allocations: 7.938 kB / 0.8127 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.003053, allocations: 127.6 kB / 0.8128 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.003062, allocations: 0 / 0.8128 GB, free: 8.375 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.723e-06/0.003063, allocations: 4 kB / 0.8128 GB, free: 8.371 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.003072, allocations: 0 / 0.8128 GB, free: 8.371 MB / 0.7917 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.0003059/0.003378, allocations: 284.2 kB / 0.8131 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.003407, allocations: 12.61 kB / 0.8131 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.003432, allocations: 8.875 kB / 0.8131 GB, free: 8.047 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.003497, allocations: 105.8 kB / 0.8132 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.003505, allocations: 4.375 kB / 0.8132 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.003523, allocations: 384 / 0.8132 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.003591, allocations: 63.95 kB / 0.8133 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.003598, allocations: 8.172 kB / 0.8133 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.003603, allocations: 384 / 0.8133 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.003606, allocations: 384 / 0.8133 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.003624, allocations: 11.92 kB / 0.8133 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.574e-05/0.0037, allocations: 61 kB / 0.8133 GB, free: 7.746 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.003815, allocations: 42.55 kB / 0.8134 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.003832, allocations: 16.84 kB / 0.8134 GB, free: 7.676 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.003846, allocations: 4 kB / 0.8134 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.003864, allocations: 30.56 kB / 0.8134 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.003865, allocations: 0 / 0.8134 GB, free: 7.633 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0004022/0.004267, allocations: 225.3 kB / 0.8136 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.004289, allocations: 51.41 kB / 0.8137 GB, free: 7.316 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.458e-05/0.004334, allocations: 114.6 kB / 0.8138 GB, free: 7.191 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.004343, allocations: 25.7 kB / 0.8138 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.004361, allocations: 84.14 kB / 0.8139 GB, free: 7.074 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.004383, allocations: 27.78 kB / 0.8139 GB, free: 7.047 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.004406, allocations: 21.7 kB / 0.814 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.004474, allocations: 318.8 kB / 0.8143 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.004482, allocations: 4 kB / 0.8143 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.004491, allocations: 7.984 kB / 0.8143 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.004518, allocations: 20.84 kB / 0.8143 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.004518, allocations: 0 / 0.8143 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.512e-05/0.004563, allocations: 53.62 kB / 0.8143 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.004574, allocations: 7.984 kB / 0.8143 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.004577, allocations: 0 / 0.8143 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.004584, allocations: 4 kB / 0.8144 GB, free: 6.594 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.004617, allocations: 12 kB / 0.8144 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004619, allocations: 0 / 0.8144 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-06/0.004629, allocations: 3.938 kB / 0.8144 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.004634, allocations: 4 kB / 0.8144 GB, free: 6.574 MB / 0.7917 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 4.18e-05/0.004675, allocations: 109.8 kB / 0.8145 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.004682, allocations: 7.984 kB / 0.8145 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.004749, allocations: 57.7 kB / 0.8145 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.004752, allocations: 4.516 kB / 0.8145 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.004753, allocations: 0 / 0.8145 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004755, allocations: 4 kB / 0.8145 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.004906, allocations: 215.6 kB / 0.8148 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.004907, allocations: 0 / 0.8148 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.004941, allocations: 16 kB / 0.8148 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.004942, allocations: 0 / 0.8148 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.004948, allocations: 3.984 kB / 0.8148 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004949, allocations: 0 / 0.8148 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.004949, allocations: 192 / 0.8148 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.005039, allocations: 168.3 kB / 0.8149 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.005052, allocations: 7.984 kB / 0.8149 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-06/0.005059, allocations: 4 kB / 0.8149 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.005092, allocations: 8 kB / 0.815 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.005103, allocations: 7.938 kB / 0.815 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.005106, allocations: 3.938 kB / 0.815 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.865e-06/0.005114, allocations: 12.84 kB / 0.815 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4e-08/0.005114, allocations: 0 / 0.815 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001456/0.00526, allocations: 39.81 kB / 0.815 GB, free: 5.852 MB / 0.7917 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.000137/0.005397, allocations: 132.2 kB / 0.8151 GB, free: 5.711 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.761e-05/0.005455, allocations: 33.02 kB / 0.8152 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.005458, allocations: 0 / 0.8152 GB, free: 5.676 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.00547, allocations: 20.86 kB / 0.8152 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.005572, allocations: 12.8 kB / 0.8152 GB, free: 5.641 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.005953, allocations: 204.7 kB / 0.8154 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.005988, allocations: 63.34 kB / 0.8155 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.006025, allocations: 55.38 kB / 0.8155 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of SimCode: time 6.01e-07/0.006026, allocations: 0 / 0.8155 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of Templates: time 0.001458/0.007484, allocations: 1.034 MB / 0.8165 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.359906328842044]