Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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.0006866/0.0006866, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.00164, 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.00164/0.00164, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.0032, 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.9404/0.9404, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08319/1.024, allocations: 53.65 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.82/1.82, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4635/2.284, 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_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7444 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.429e-05, allocations: 3.688 kB / 0.7444 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002787/0.002812, allocations: 1.363 MB / 0.7458 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008569/0.003668, allocations: 0.5655 MB / 0.7463 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.003687, allocations: 2.844 kB / 0.7463 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.003697, allocations: 3.984 kB / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.484e-05/0.003722, allocations: 1.75 kB / 0.7463 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.00415, allocations: 140 kB / 0.7464 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.004203, allocations: 12.05 kB / 0.7465 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.004241, allocations: 1.406 kB / 0.7465 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.29e-05/0.004294, allocations: 12.62 kB / 0.7465 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.004345, allocations: 12.81 kB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.004355, allocations: 0 / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.004868, allocations: 324 kB / 0.7468 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.004881, allocations: 7.938 kB / 0.7468 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.254e-05/0.004893, allocations: 0 / 0.7468 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.005142, allocations: 119.7 kB / 0.7469 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.005154, allocations: 0 / 0.7469 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.005157, allocations: 4 kB / 0.7469 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.005171, allocations: 0 / 0.7469 GB, free: 0.8203 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.0003896/0.005561, allocations: 268.9 kB / 0.7472 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.005596, allocations: 9.094 kB / 0.7472 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.005628, allocations: 8.922 kB / 0.7472 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.005716, allocations: 109.7 kB / 0.7473 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.005727, allocations: 5.844 kB / 0.7473 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.005735, allocations: 384 / 0.7473 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/0.005802, allocations: 26.27 kB / 0.7473 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.005809, allocations: 0.7812 kB / 0.7473 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-06/0.005814, allocations: 4.375 kB / 0.7473 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.00582, allocations: 1.094 kB / 0.7473 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294e-05/0.005833, allocations: 3.938 kB / 0.7473 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.553e-05/0.005928, allocations: 62.25 kB / 0.7474 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.005974, allocations: 26.55 kB / 0.7474 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.005989, allocations: 9.859 kB / 0.7474 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.006004, allocations: 0 / 0.7474 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.006027, allocations: 30.56 kB / 0.7475 GB, free: 184 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.006028, allocations: 0.9062 kB / 0.7475 GB, free: 184 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.385e-05/0.006122, allocations: 38.22 kB / 0.7475 GB, free: 140 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.006151, allocations: 53.88 kB / 0.7475 GB, free: 76 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.006228, allocations: 110.6 kB / 0.7477 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.006237, allocations: 25.7 kB / 0.7477 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.006261, allocations: 80.14 kB / 0.7478 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.006286, allocations: 11.95 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.00631, allocations: 13.66 kB / 0.7478 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.006402, allocations: 326.7 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.006409, allocations: 0 / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-06/0.006414, allocations: 0 / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.006437, allocations: 8.859 kB / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006438, allocations: 0 / 0.7481 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.322e-05/0.006492, allocations: 37.69 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006504, allocations: 4 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006508, allocations: 3.938 kB / 0.7481 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.006516, allocations: 4 kB / 0.7481 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.006633, allocations: 7.062 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003134/0.006946, allocations: 0.5937 MB / 0.7487 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.006962, allocations: 3.984 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006968, allocations: 4 kB / 0.7487 GB, free: 14.79 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 9.075e-05/0.007059, allocations: 109.8 kB / 0.7488 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.007065, allocations: 0 / 0.7488 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.962e-05/0.007145, allocations: 46.06 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.007148, allocations: 3.938 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.00715, allocations: 3.438 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.007152, allocations: 0 / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.655e-05/0.007219, allocations: 65.91 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007221, allocations: 0 / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.007277, allocations: 11.98 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007278, allocations: 0 / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-06/0.007281, allocations: 0 / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002393/0.007521, allocations: 0.5859 MB / 0.7495 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.007522, allocations: 3.312 kB / 0.7495 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.39e-05/0.007576, allocations: 61.06 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-06/0.007583, allocations: 3.938 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.007593, allocations: 4 kB / 0.7496 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.007604, allocations: 4 kB / 0.7496 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.007615, allocations: 3.984 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.007617, allocations: 0 / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.026e-05/0.007628, allocations: 5.359 kB / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.007628, allocations: 0 / 0.7496 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002038/0.007832, allocations: 25.03 kB / 0.7496 GB, free: 13.79 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.0002417/0.008073, allocations: 113.2 kB / 0.7498 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.799e-05/0.008161, allocations: 21.31 kB / 0.7498 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.008164, allocations: 0 / 0.7498 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.154e-05/0.008196, allocations: 13.52 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.758e-05/0.008263, allocations: 9.484 kB / 0.7498 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.008527, allocations: 127.4 kB / 0.7499 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.008565, allocations: 65.06 kB / 0.75 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.008598, allocations: 47.38 kB / 0.75 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.008599, allocations: 0 / 0.75 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.001696/0.0103, allocations: 0.6584 MB / 0.7507 GB, free: 12.72 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.268320101313293]