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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8234/0.8234, allocations: 137.4 MB / 442.4 MB, free: 13.94 MB / 350.1 MB [Timeout remaining time 89] 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=500,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=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 76.12 kB / 0.6138 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 85.52 MB / 0.6973 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002223/0.3253, allocations: 1.258 MB / 0.6985 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3263, allocations: 0.5925 MB / 0.6991 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.3263, allocations: 4 kB / 0.6991 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.3264, allocations: 3.938 kB / 0.6991 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.3264, allocations: 1.188 kB / 0.6991 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.3269, allocations: 134.4 kB / 0.6992 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.327, allocations: 9.406 kB / 0.6992 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.327, allocations: 5.344 kB / 0.6992 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.135e-05/0.3271, allocations: 6.578 kB / 0.6992 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.3271, allocations: 9.266 kB / 0.6992 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3271, allocations: 5.25 kB / 0.6992 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.3276, allocations: 333.1 kB / 0.6996 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.3277, allocations: 7.984 kB / 0.6996 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.3277, allocations: 6.203 kB / 0.6996 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3279, allocations: 142.6 kB / 0.6997 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3279, allocations: 3.938 kB / 0.6997 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3279, allocations: 1.219 kB / 0.6997 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3279, allocations: 0 / 0.6997 GB, free: 13.01 MB / 0.5137 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.0003974/0.3283, allocations: 347 kB / 0.7001 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3284, allocations: 10.92 kB / 0.7001 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3284, allocations: 6.031 kB / 0.7001 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3285, allocations: 164.3 kB / 0.7002 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3285, allocations: 5.438 kB / 0.7002 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.3285, allocations: 1.625 kB / 0.7002 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.3286, allocations: 37.41 kB / 0.7003 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3286, allocations: 0 / 0.7003 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.3286, allocations: 0 / 0.7003 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3286, allocations: 0 / 0.7003 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.3287, allocations: 3.281 kB / 0.7003 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.3288, allocations: 164.5 kB / 0.7004 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.519e-05/0.3289, allocations: 24.2 kB / 0.7005 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.3289, allocations: 9.797 kB / 0.7005 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3289, allocations: 4.969 kB / 0.7005 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.329, allocations: 31.5 kB / 0.7005 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.329, allocations: 0 / 0.7005 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.3291, allocations: 47.59 kB / 0.7005 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3291, allocations: 56.38 kB / 0.7006 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.052e-05/0.3292, allocations: 92.52 kB / 0.7007 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3292, allocations: 25.7 kB / 0.7007 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.3293, allocations: 81.48 kB / 0.7008 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3293, allocations: 3.953 kB / 0.7008 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.3293, allocations: 20.52 kB / 0.7008 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3295, allocations: 316.3 kB / 0.7011 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.3295, allocations: 1.531 kB / 0.7011 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.3295, allocations: 2.75 kB / 0.7011 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.3295, allocations: 13.2 kB / 0.7011 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3295, allocations: 0 / 0.7011 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.784e-05/0.3296, allocations: 50.83 kB / 0.7012 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3296, allocations: 6.062 kB / 0.7012 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.3296, allocations: 0 / 0.7012 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3296, allocations: 4.094 kB / 0.7012 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3297, allocations: 6.875 kB / 0.7012 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004026/0.3301, allocations: 0.5905 MB / 0.7018 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.3302, allocations: 1.406 kB / 0.7018 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3302, allocations: 1.625 kB / 0.7018 GB, free: 10.77 MB / 0.5137 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 7.463e-05/0.3302, allocations: 109.9 kB / 0.7019 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.3303, allocations: 9.297 kB / 0.7019 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3304, allocations: 53 kB / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3304, allocations: 1.438 kB / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3304, allocations: 0 / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3304, allocations: 0 / 0.7019 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.3305, allocations: 156.4 kB / 0.7021 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3305, allocations: 0 / 0.7021 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.3306, allocations: 7.969 kB / 0.7021 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3306, allocations: 1.094 kB / 0.7021 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.3306, allocations: 7.969 kB / 0.7021 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003275/0.3309, allocations: 0.5862 MB / 0.7027 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3309, allocations: 5.031 kB / 0.7027 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.921e-05/0.331, allocations: 58.23 kB / 0.7027 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.331, allocations: 78.2 kB / 0.7028 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.331, allocations: 13.08 kB / 0.7028 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.44e-05/0.331, allocations: 0 / 0.7028 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.331, allocations: 1.156 kB / 0.7028 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.331, allocations: 1.25 kB / 0.7028 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.873e-05/0.3311, allocations: 76.81 kB / 0.7029 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.3311, allocations: 0 / 0.7029 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001901/0.3313, allocations: 15.25 kB / 0.7029 GB, free: 9.527 MB / 0.5137 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.0001734/0.3314, allocations: 118.2 kB / 0.703 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.3316, allocations: 20.95 kB / 0.703 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3316, allocations: 0 / 0.703 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.3317, allocations: 14.05 kB / 0.7031 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.3318, allocations: 7 kB / 0.7031 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3322, allocations: 131 kB / 0.7032 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3324, allocations: 0.6751 MB / 0.7038 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.3324, allocations: 8.812 kB / 0.7039 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.3324, allocations: 0 / 0.7039 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.002301/0.3348, allocations: 0.6967 MB / 0.7045 GB, free: 8.211 MB / 0.5137 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]