Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.001076/0.001076, allocations: 84.41 kB / 20.72 MB, free: 3.824 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.0009963/0.0009963, allocations: 173.2 kB / 23.99 MB, free: 0.5469 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.9333/0.9333, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.856/1.856, allocations: 389.9 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.002 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.561e-05, allocations: 4.812 kB / 1.002 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.001673/0.001699, allocations: 1.282 MB / 1.003 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006847/0.002384, allocations: 0.534 MB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.002413, allocations: 0 / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.002431, allocations: 7.984 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.002469, allocations: 11.88 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.002934, allocations: 154.4 kB / 1.004 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.002984, allocations: 11.88 kB / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.003026, allocations: 4 kB / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.003053, allocations: 0 / 1.004 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.003096, allocations: 11.92 kB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.003107, allocations: 3.984 kB / 1.004 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.003438, allocations: 315.3 kB / 1.004 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.00345, allocations: 0 / 1.004 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.003468, allocations: 7.938 kB / 1.004 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.003659, allocations: 147.5 kB / 1.004 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.003662, allocations: 0 / 1.004 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.442e-06/0.003663, allocations: 0 / 1.004 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.003667, allocations: 4 kB / 1.004 GB, free: 10.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003168/0.003984, allocations: 278 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.00402, allocations: 8.031 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.004051, allocations: 8.891 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.004132, allocations: 101.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004143, allocations: 4.375 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.004151, allocations: 384 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.31e-05/0.004235, allocations: 46.17 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004241, allocations: 192 / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.00425, allocations: 384 / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.004254, allocations: 4.375 kB / 1.005 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.004275, allocations: 3.938 kB / 1.005 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.004377, allocations: 101.3 kB / 1.005 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.004424, allocations: 18.61 kB / 1.005 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.00444, allocations: 12.92 kB / 1.005 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.00446, allocations: 3.984 kB / 1.005 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.004479, allocations: 38.56 kB / 1.005 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.00448, allocations: 3.938 kB / 1.005 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.004611, allocations: 41.64 kB / 1.005 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.004638, allocations: 51.41 kB / 1.005 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.004695, allocations: 105.8 kB / 1.005 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004705, allocations: 25.7 kB / 1.005 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.004724, allocations: 80.14 kB / 1.005 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.004746, allocations: 8.141 kB / 1.005 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.004767, allocations: 17.72 kB / 1.005 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.004835, allocations: 314.8 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.004846, allocations: 4 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.004852, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.004878, allocations: 20.78 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00488, allocations: 0 / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.513e-05/0.004925, allocations: 37.7 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.004938, allocations: 4 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.004943, allocations: 0 / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.004957, allocations: 8.094 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.005104, allocations: 7.984 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003185/0.005422, allocations: 0.5898 MB / 1.006 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.005443, allocations: 3.938 kB / 1.006 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.005449, allocations: 0 / 1.006 GB, free: 8.57 MB / 0.9636 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.4e-05/0.005523, allocations: 114.4 kB / 1.006 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-06/0.005529, allocations: 7.891 kB / 1.006 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.005637, allocations: 45.09 kB / 1.006 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.005641, allocations: 8.031 kB / 1.006 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.005646, allocations: 0 / 1.006 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005649, allocations: 0 / 1.006 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.01e-05/0.005719, allocations: 105.3 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005721, allocations: 0 / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.00578, allocations: 8 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005782, allocations: 0 / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.005789, allocations: 3.938 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000201/0.00599, allocations: 0.5899 MB / 1.007 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005991, allocations: 4.094 kB / 1.007 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.18e-05/0.006043, allocations: 61.11 kB / 1.007 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.00605, allocations: 4 kB / 1.007 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.006061, allocations: 3.984 kB / 1.007 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-06/0.00607, allocations: 3.938 kB / 1.007 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.006081, allocations: 0 / 1.007 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.006084, allocations: 7.938 kB / 1.007 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.006109, allocations: 79.28 kB / 1.007 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00611, allocations: 0 / 1.007 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000142/0.006252, allocations: 15.94 kB / 1.007 GB, free: 7.43 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.006403, allocations: 119.3 kB / 1.007 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.006531, allocations: 15.98 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.006533, allocations: 0 / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.00657, allocations: 19.98 kB / 1.007 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.006679, allocations: 3.938 kB / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.006964, allocations: 134.6 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.006998, allocations: 59.34 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.007014, allocations: 8.5 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.007015, allocations: 0 / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of Templates: time 0.001846/0.008861, allocations: 0.7714 MB / 1.008 GB, free: 6.246 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.945486705750227]