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.0007075/0.0007075, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009403/0.001648, allocations: 449.7 kB / 10.33 MB, free: 372 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.0006866/0.0006866, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008514/0.001538, allocations: 463.6 kB / 11.66 MB, free: 2.504 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.9347/0.9347, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08367/1.018, 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 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.798/1.798, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4682/2.266, allocations: 127.1 MB / 0.7432 GB, free: 4.613 MB / 0.7136 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.734e-06/1.734e-06, allocations: 0 / 0.7444 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.631e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.00234/0.002357, allocations: 1.367 MB / 0.7457 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.003213, allocations: 0.5797 MB / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.003231, allocations: 0 / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.324e-06/0.003238, allocations: 0 / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.626e-05/0.003264, allocations: 8.859 kB / 0.7463 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.003664, allocations: 147.3 kB / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.003719, allocations: 7.391 kB / 0.7465 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.003761, allocations: 10.58 kB / 0.7465 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.003812, allocations: 15.86 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.003864, allocations: 4 kB / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.003874, allocations: 0 / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.004377, allocations: 319.4 kB / 0.7468 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.004388, allocations: 3.938 kB / 0.7468 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.473e-05/0.004403, allocations: 4 kB / 0.7468 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.00465, allocations: 129.3 kB / 0.7469 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.295e-05/0.004662, allocations: 0 / 0.7469 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.424e-06/0.004665, allocations: 4 kB / 0.7469 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.004682, allocations: 0 / 0.7469 GB, free: 0.8008 MB / 0.7136 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.0003853/0.005067, allocations: 257.5 kB / 0.7472 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.005104, allocations: 16.02 kB / 0.7472 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.005135, allocations: 4.875 kB / 0.7472 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.005224, allocations: 110.7 kB / 0.7473 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.005235, allocations: 4.375 kB / 0.7473 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.005245, allocations: 0.9688 kB / 0.7473 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.762e-05/0.005312, allocations: 30.83 kB / 0.7473 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005319, allocations: 192 / 0.7473 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.005325, allocations: 0.9062 kB / 0.7473 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00533, allocations: 1.875 kB / 0.7473 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.005344, allocations: 7.922 kB / 0.7474 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.434e-05/0.005438, allocations: 61.03 kB / 0.7474 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.005485, allocations: 23.23 kB / 0.7474 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.0055, allocations: 8.922 kB / 0.7474 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.005517, allocations: 0.625 kB / 0.7474 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.005541, allocations: 34.56 kB / 0.7475 GB, free: 168 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005542, allocations: 1.188 kB / 0.7475 GB, free: 168 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.863e-05/0.00564, allocations: 37.69 kB / 0.7475 GB, free: 124 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.005669, allocations: 56.56 kB / 0.7476 GB, free: 56 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.005742, allocations: 102.7 kB / 0.7477 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.005753, allocations: 26.64 kB / 0.7477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.005776, allocations: 80.14 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.005801, allocations: 7.953 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.00583, allocations: 18.59 kB / 0.7478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.005914, allocations: 318.8 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.005921, allocations: 3.875 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.005928, allocations: 3.938 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.005954, allocations: 20.86 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005956, allocations: 0 / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.19e-05/0.006008, allocations: 41.61 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.00602, allocations: 8 kB / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006024, allocations: 0 / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.006033, allocations: 0 / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.006165, allocations: 7.984 kB / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002845/0.00645, allocations: 0.5849 MB / 0.7488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.006466, allocations: 0 / 0.7488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006472, allocations: 4 kB / 0.7488 GB, free: 14.78 MB / 0.7292 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 6.044e-05/0.006532, allocations: 105.8 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.00654, allocations: 4 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.00662, allocations: 52.36 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006623, allocations: 3.938 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.006625, allocations: 0 / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006627, allocations: 0 / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.224e-05/0.00669, allocations: 65.89 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006691, allocations: 0 / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.006758, allocations: 11.98 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.00676, allocations: 0 / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-06/0.006763, allocations: 0 / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000225/0.006988, allocations: 0.5856 MB / 0.7496 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.006989, allocations: 3.938 kB / 0.7496 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.247e-05/0.007041, allocations: 57.12 kB / 0.7496 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-06/0.007048, allocations: 3.938 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-06/0.007057, allocations: 4 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.007067, allocations: 0 / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.007081, allocations: 3.984 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.007083, allocations: 1.781 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.114e-05/0.007094, allocations: 12.84 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007094, allocations: 0 / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000193/0.007287, allocations: 23.88 kB / 0.7497 GB, free: 13.78 MB / 0.7292 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.000178/0.007465, allocations: 109.2 kB / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.007558, allocations: 21.3 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.007562, allocations: 3.906 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.007589, allocations: 12.86 kB / 0.7498 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.759e-05/0.007657, allocations: 11.92 kB / 0.7498 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.007931, allocations: 135.6 kB / 0.7499 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.007967, allocations: 55.36 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.008001, allocations: 47.38 kB / 0.75 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.008002, allocations: 2.781 kB / 0.75 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.001746/0.009748, allocations: 0.6497 MB / 0.7507 GB, free: 12.7 MB / 0.7292 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: 5.308056600391865]