Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.00127, allocations: 110.5 kB / 17.08 MB, free: 5.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 189.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.201/1.201, allocations: 173.4 MB / 471.3 MB, free: 6.562 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 66.98 kB / 0.649 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 89.53 MB / 0.7364 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002292/0.1791, allocations: 1.241 MB / 0.7376 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.1801, allocations: 0.5842 MB / 0.7382 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.1802, allocations: 0 / 0.7382 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.1802, allocations: 0 / 0.7382 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.1802, allocations: 0 / 0.7382 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.1807, allocations: 139.4 kB / 0.7383 GB, free: 1.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.1808, allocations: 11.94 kB / 0.7383 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1809, allocations: 7.984 kB / 0.7383 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.1809, allocations: 3.938 kB / 0.7383 GB, free: 1.691 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.1809, allocations: 4 kB / 0.7384 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1809, allocations: 4 kB / 0.7384 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.1815, allocations: 343.3 kB / 0.7387 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1815, allocations: 0 / 0.7387 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.1815, allocations: 7.938 kB / 0.7387 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.1818, allocations: 139.6 kB / 0.7388 GB, free: 1.203 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1818, allocations: 0 / 0.7388 GB, free: 1.203 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1818, allocations: 0 / 0.7388 GB, free: 1.203 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1818, allocations: 0 / 0.7388 GB, free: 1.203 MB / 0.545 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.0004136/0.1822, allocations: 355.1 kB / 0.7392 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1823, allocations: 12.03 kB / 0.7392 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.1823, allocations: 4.875 kB / 0.7392 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1824, allocations: 168.4 kB / 0.7393 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1825, allocations: 384 / 0.7393 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.1825, allocations: 384 / 0.7393 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.613e-05/0.1826, allocations: 37.64 kB / 0.7394 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1826, allocations: 0 / 0.7394 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.1826, allocations: 0 / 0.7394 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1826, allocations: 3.938 kB / 0.7394 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.1826, allocations: 4 kB / 0.7394 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.1828, allocations: 161.6 kB / 0.7395 GB, free: 340 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.471e-05/0.1829, allocations: 18.58 kB / 0.7396 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.1829, allocations: 4.859 kB / 0.7396 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1829, allocations: 11.98 kB / 0.7396 GB, free: 292 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.183, allocations: 30.56 kB / 0.7396 GB, free: 252 kB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.183, allocations: 0 / 0.7396 GB, free: 252 kB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.1831, allocations: 45.64 kB / 0.7396 GB, free: 200 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1832, allocations: 51.41 kB / 0.7397 GB, free: 136 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.1832, allocations: 101.8 kB / 0.7398 GB, free: 24 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1833, allocations: 25.7 kB / 0.7398 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1833, allocations: 80.14 kB / 0.7399 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1833, allocations: 7.953 kB / 0.7399 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.1834, allocations: 9.719 kB / 0.7399 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1835, allocations: 323.1 kB / 0.7402 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.1835, allocations: 0 / 0.7402 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.1836, allocations: 4 kB / 0.7402 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.1836, allocations: 16.78 kB / 0.7402 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.1836, allocations: 0 / 0.7402 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.384e-05/0.1837, allocations: 41.64 kB / 0.7403 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1837, allocations: 4 kB / 0.7403 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1837, allocations: 0 / 0.7403 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1837, allocations: 8.094 kB / 0.7403 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1839, allocations: 11.97 kB / 0.7403 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004059/0.1843, allocations: 0.5937 MB / 0.7409 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.1843, allocations: 0 / 0.7409 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1843, allocations: 0 / 0.7409 GB, free: 14.85 MB / 0.5606 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 8.1e-05/0.1844, allocations: 113.9 kB / 0.741 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.1844, allocations: 11.97 kB / 0.741 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1845, allocations: 44.81 kB / 0.741 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1845, allocations: 0 / 0.741 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1846, allocations: 0 / 0.741 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1846, allocations: 0 / 0.741 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.1847, allocations: 157.6 kB / 0.7412 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1847, allocations: 0 / 0.7412 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.1848, allocations: 11.98 kB / 0.7412 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1848, allocations: 0 / 0.7412 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1848, allocations: 4.031 kB / 0.7412 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000361/0.1852, allocations: 0.5937 MB / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1852, allocations: 0 / 0.7418 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.476e-05/0.1853, allocations: 69.11 kB / 0.7419 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1853, allocations: 81.17 kB / 0.7419 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1853, allocations: 7.938 kB / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.1854, allocations: 3.938 kB / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1854, allocations: 0 / 0.7419 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.1854, allocations: 4 kB / 0.7419 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.1854, allocations: 79.22 kB / 0.742 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1854, allocations: 0 / 0.742 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001936/0.1856, allocations: 8 kB / 0.742 GB, free: 13.55 MB / 0.5606 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.000171/0.1858, allocations: 115.3 kB / 0.7421 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.186, allocations: 19.98 kB / 0.7422 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.186, allocations: 0 / 0.7422 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.1861, allocations: 15.98 kB / 0.7422 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1862, allocations: 0 / 0.7422 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.1866, allocations: 140.1 kB / 0.7423 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.1869, allocations: 0.6806 MB / 0.743 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.1869, allocations: 7.438 kB / 0.743 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1869, allocations: 0 / 0.743 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.002683/0.1896, allocations: 0.6946 MB / 0.7437 GB, free: 11.81 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.319909705780447] Failed to read output from testmodel.py, exit status != 0: 0.19601747998967767 0.20922636699999994 0.024862959 Calling exit ...