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.0007861/0.0007861, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.001986, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007208/0.0007208, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000913/0.001634, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.002/1.002, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08159/1.084, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.892/1.892, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4814/2.373, allocations: 127.1 MB / 0.7432 GB, free: 4.617 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.463e-06/1.463e-06, allocations: 0 / 0.7445 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.473e-05, allocations: 6.969 kB / 0.7445 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002241/0.002265, allocations: 1.371 MB / 0.7458 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.003148, allocations: 0.5844 MB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.038e-05/0.003169, allocations: 0.6562 kB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.406e-06/0.003177, allocations: 1.438 kB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.668e-05/0.003204, allocations: 1.75 kB / 0.7464 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.003683, allocations: 148.7 kB / 0.7466 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.003744, allocations: 12.14 kB / 0.7466 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.003787, allocations: 4 kB / 0.7466 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.449e-05/0.003841, allocations: 9.188 kB / 0.7466 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.003894, allocations: 0.7656 kB / 0.7466 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.003906, allocations: 4 kB / 0.7466 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005432/0.004449, allocations: 334.1 kB / 0.7469 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.004462, allocations: 3.938 kB / 0.7469 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.004477, allocations: 4 kB / 0.7469 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.004733, allocations: 119.7 kB / 0.747 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.956e-05/0.004753, allocations: 3.984 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004754, allocations: 3.219 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.004772, allocations: 4 kB / 0.747 GB, free: 0.7617 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.0003885/0.00516, allocations: 256.3 kB / 0.7473 GB, free: 496 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005195, allocations: 15.97 kB / 0.7473 GB, free: 480 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.005223, allocations: 4.922 kB / 0.7473 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.005317, allocations: 105.8 kB / 0.7474 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.005329, allocations: 4.375 kB / 0.7474 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.005336, allocations: 384 / 0.7474 GB, free: 340 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.166e-05/0.005407, allocations: 34.98 kB / 0.7474 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005415, allocations: 192 / 0.7474 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-06/0.00542, allocations: 1.094 kB / 0.7474 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.005427, allocations: 4.359 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.005445, allocations: 12.55 kB / 0.7475 GB, free: 284 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.807e-05/0.005533, allocations: 57.58 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.733e-05/0.00558, allocations: 21.28 kB / 0.7475 GB, free: 184 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.005595, allocations: 8.922 kB / 0.7475 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.005615, allocations: 0 / 0.7475 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.005637, allocations: 30.56 kB / 0.7476 GB, free: 132 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.005638, allocations: 0.9688 kB / 0.7476 GB, free: 132 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.977e-05/0.005737, allocations: 45.62 kB / 0.7476 GB, free: 80 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.005769, allocations: 51.91 kB / 0.7477 GB, free: 16 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.005846, allocations: 99.36 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.005855, allocations: 26.3 kB / 0.7478 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.005879, allocations: 80.8 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.005905, allocations: 11.94 kB / 0.7479 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.005935, allocations: 14.28 kB / 0.7479 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.006016, allocations: 324 kB / 0.7482 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.006023, allocations: 0 / 0.7482 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-06/0.006029, allocations: 0 / 0.7482 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.006053, allocations: 9.359 kB / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006055, allocations: 4.688 kB / 0.7482 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.514e-05/0.006111, allocations: 39.03 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.006127, allocations: 4 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006132, allocations: 4 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.006141, allocations: 0 / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.00628, allocations: 8.516 kB / 0.7483 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003267/0.006607, allocations: 0.5868 MB / 0.7488 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.006625, allocations: 1.656 kB / 0.7488 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.006631, allocations: 4 kB / 0.7488 GB, free: 14.75 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 5.875e-05/0.00669, allocations: 117.7 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-06/0.006696, allocations: 0 / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/0.006784, allocations: 50.25 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006787, allocations: 3.938 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006788, allocations: 1.469 kB / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.006791, allocations: 0 / 0.749 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.003e-05/0.006861, allocations: 65.84 kB / 0.7491 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006862, allocations: 0 / 0.7491 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.006925, allocations: 14.73 kB / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.006932, allocations: 0 / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006934, allocations: 0 / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-06/0.006938, allocations: 0 / 0.7491 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002241/0.007162, allocations: 0.5859 MB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.007165, allocations: 3.984 kB / 0.7497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.537e-05/0.007221, allocations: 64.66 kB / 0.7497 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.00723, allocations: 0 / 0.7497 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.007241, allocations: 4 kB / 0.7497 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.007252, allocations: 3.984 kB / 0.7497 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.007254, allocations: 0 / 0.7497 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.938e-06/0.007264, allocations: 4.859 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.007264, allocations: 4 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001776/0.007442, allocations: 19.88 kB / 0.7497 GB, free: 13.75 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.0001918/0.007634, allocations: 117.9 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.00773, allocations: 12.86 kB / 0.7499 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.007735, allocations: 4.562 kB / 0.7499 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.007761, allocations: 10.17 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.131e-05/0.007832, allocations: 7.984 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.008421, allocations: 114.1 kB / 0.75 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.86e-05/0.008449, allocations: 51.36 kB / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.557e-05/0.008475, allocations: 1.938 kB / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.00851, allocations: 51.38 kB / 0.7501 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.00851, allocations: 3.938 kB / 0.7501 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.002697/0.01121, allocations: 0.6106 MB / 0.7507 GB, free: 12.78 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8135923417285085]