Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001269/0.001269, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001381/0.001381, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 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.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002537/0.002537, allocations: 234.5 kB / 260 MB, free: 472 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8825/0.8825, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003093/0.003093, allocations: 95.84 kB / 0.6473 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4039, allocations: 95.35 MB / 0.7404 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001936/0.4058, allocations: 1.265 MB / 0.7417 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.4066, allocations: 0.5226 MB / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.4066, allocations: 0 / 0.7422 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.4066, allocations: 6.156 kB / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.4066, allocations: 0 / 0.7422 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.4071, allocations: 147 kB / 0.7423 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.001e-05/0.4071, allocations: 10.06 kB / 0.7423 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.4072, allocations: 3.125 kB / 0.7424 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.4072, allocations: 10.73 kB / 0.7424 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.653e-05/0.4072, allocations: 3.703 kB / 0.7424 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.597e-06/0.4072, allocations: 0 / 0.7424 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.4077, allocations: 271.5 kB / 0.7426 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.4077, allocations: 0.6562 kB / 0.7426 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.4077, allocations: 6.875 kB / 0.7426 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.4079, allocations: 129.8 kB / 0.7428 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4079, allocations: 2 kB / 0.7428 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4079, allocations: 0 / 0.7428 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.4079, allocations: 0 / 0.7428 GB, free: 16.05 MB / 0.5919 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.0002776/0.4082, allocations: 271.8 kB / 0.743 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.4083, allocations: 11.38 kB / 0.743 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.4083, allocations: 1.594 kB / 0.743 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.96e-05/0.4083, allocations: 112.9 kB / 0.7431 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4083, allocations: 6.219 kB / 0.7431 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-06/0.4084, allocations: 4.312 kB / 0.7431 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.4084, allocations: 31.84 kB / 0.7432 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4084, allocations: 192 / 0.7432 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.4085, allocations: 3.938 kB / 0.7432 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4085, allocations: 1.812 kB / 0.7432 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.4085, allocations: 10.52 kB / 0.7432 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.628e-05/0.4086, allocations: 106.2 kB / 0.7433 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.4086, allocations: 21.23 kB / 0.7433 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.4086, allocations: 10.64 kB / 0.7433 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4086, allocations: 2.625 kB / 0.7433 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.4087, allocations: 32.41 kB / 0.7434 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.4087, allocations: 0 / 0.7434 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001137/0.4088, allocations: 48.39 kB / 0.7434 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.665e-05/0.4088, allocations: 52.25 kB / 0.7435 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.429e-05/0.4088, allocations: 98.08 kB / 0.7435 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.4088, allocations: 26.31 kB / 0.7436 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 1.051e-05/0.4088, allocations: 81.98 kB / 0.7437 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.4089, allocations: 8.688 kB / 0.7437 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.4089, allocations: 17.81 kB / 0.7437 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.276e-05/0.4089, allocations: 311.5 kB / 0.744 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.4089, allocations: 2.469 kB / 0.744 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/0.4089, allocations: 4.188 kB / 0.744 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.409, allocations: 13.8 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.409, allocations: 4.188 kB / 0.744 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.806e-05/0.409, allocations: 40.83 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.409, allocations: 5.094 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.409, allocations: 0.6094 kB / 0.744 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.409, allocations: 3.938 kB / 0.744 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.4092, allocations: 11.2 kB / 0.7441 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001997/0.4094, allocations: 0.583 MB / 0.7446 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.4094, allocations: 5.672 kB / 0.7446 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4094, allocations: 1.031 kB / 0.7446 GB, free: 14.08 MB / 0.5919 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 4.056e-05/0.4094, allocations: 124.3 kB / 0.7447 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-06/0.4094, allocations: 0.875 kB / 0.7448 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.4095, allocations: 44.36 kB / 0.7448 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.4095, allocations: 4.875 kB / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4095, allocations: 6.062 kB / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.4095, allocations: 0 / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.962e-05/0.4096, allocations: 101.8 kB / 0.7449 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4096, allocations: 3.938 kB / 0.7449 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.4096, allocations: 10.19 kB / 0.7449 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4096, allocations: 4.812 kB / 0.7449 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.4097, allocations: 1.156 kB / 0.7449 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001495/0.4098, allocations: 0.5876 MB / 0.7455 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4098, allocations: 0 / 0.7455 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.051e-05/0.4099, allocations: 67.89 kB / 0.7456 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-06/0.4099, allocations: 0 / 0.7456 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.4099, allocations: 1.906 kB / 0.7456 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.4099, allocations: 0 / 0.7456 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.4099, allocations: 2.641 kB / 0.7456 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.4099, allocations: 5.438 kB / 0.7456 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.4099, allocations: 78.58 kB / 0.7456 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4099, allocations: 0 / 0.7456 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001874/0.4101, allocations: 22.62 kB / 0.7457 GB, free: 13.01 MB / 0.5919 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.0001151/0.4102, allocations: 105.4 kB / 0.7458 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.4104, allocations: 16.53 kB / 0.7458 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4104, allocations: 0 / 0.7458 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.4104, allocations: 16.78 kB / 0.7458 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.4106, allocations: 9.562 kB / 0.7458 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.4108, allocations: 106.8 kB / 0.7459 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.479e-05/0.4109, allocations: 58.56 kB / 0.746 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.304e-05/0.4109, allocations: 3.906 kB / 0.746 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.146e-05/0.4109, allocations: 9.781 kB / 0.746 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4109, allocations: 3.938 kB / 0.746 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.002529/0.4134, allocations: 478.5 kB / 0.7464 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.540196396061219] Failed to read output from testmodel.py, exit status != 0: 0.4207694180076942 0.431950851 0.021218871 Calling exit ...