Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001166/0.001166, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001076/0.001076, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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.8999/0.8999, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6918/0.6918, allocations: 154.6 MB / 414.5 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.034e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001867/0.001897, allocations: 1.259 MB / 0.6206 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.002743, allocations: 0.5215 MB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.002767, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.376e-05/0.002791, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.002848, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.003321, allocations: 151.2 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.003392, allocations: 11.88 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.003442, allocations: 4 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.003481, allocations: 7.984 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.003542, allocations: 4 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.003559, allocations: 0 / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.003863, allocations: 267.4 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.003883, allocations: 3.984 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.003904, allocations: 7.938 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.004115, allocations: 147.6 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.004118, allocations: 4 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.223e-06/0.00412, allocations: 0 / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.004124, allocations: 0 / 0.6217 GB, free: 10.76 MB / 0.5886 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.0003859/0.00451, allocations: 280.2 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.004553, allocations: 8.031 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.004584, allocations: 0.9375 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.004667, allocations: 105.8 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.004679, allocations: 384 / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.00469, allocations: 4.359 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.004794, allocations: 42.19 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.004804, allocations: 192 / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004814, allocations: 384 / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.00482, allocations: 384 / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.004849, allocations: 11.94 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.004988, allocations: 97.33 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.005046, allocations: 22.61 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.005064, allocations: 8.922 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.005086, allocations: 7.922 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.005111, allocations: 34.5 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 5.11e-07/0.005112, allocations: 4 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.005253, allocations: 45.66 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.005285, allocations: 51.41 kB / 0.6223 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.485e-05/0.00536, allocations: 101.8 kB / 0.6224 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.005371, allocations: 25.7 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.005398, allocations: 80.14 kB / 0.6225 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.00543, allocations: 7.953 kB / 0.6226 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.005459, allocations: 13.72 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.005543, allocations: 310.8 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.005554, allocations: 4.25 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.005561, allocations: 4 kB / 0.6229 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.005591, allocations: 24.78 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005592, allocations: 0 / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.197e-05/0.005634, allocations: 41.64 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.005646, allocations: 4 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.005653, allocations: 0 / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.005668, allocations: 0 / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.005824, allocations: 11.98 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002898/0.006114, allocations: 0.5938 MB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.006127, allocations: 3.938 kB / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.006132, allocations: 0 / 0.6235 GB, free: 8.637 MB / 0.5886 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 6.308e-05/0.006195, allocations: 106.8 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.0062, allocations: 7.969 kB / 0.6236 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-05/0.006299, allocations: 52.95 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006301, allocations: 0 / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.006308, allocations: 0 / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.006312, allocations: 128 / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.214e-05/0.006384, allocations: 109.3 kB / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006385, allocations: 0 / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.006438, allocations: 8 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.006441, allocations: 0 / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.006452, allocations: 3.938 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002207/0.006672, allocations: 0.5938 MB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.006674, allocations: 0 / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.866e-05/0.006722, allocations: 65.02 kB / 0.6245 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.00673, allocations: 4.125 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.00674, allocations: 4 kB / 0.6245 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.006748, allocations: 3.984 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.00677, allocations: 3.938 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.006772, allocations: 0 / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.006803, allocations: 79.28 kB / 0.6245 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006803, allocations: 0 / 0.6245 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001334/0.006936, allocations: 8 kB / 0.6246 GB, free: 7.508 MB / 0.5886 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.0001505/0.007087, allocations: 111.2 kB / 0.6247 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.007214, allocations: 20.08 kB / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.007216, allocations: 0 / 0.6247 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.007248, allocations: 15.98 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.007372, allocations: 3.938 kB / 0.6247 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.007701, allocations: 126.6 kB / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.01e-05/0.007741, allocations: 55.36 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.007755, allocations: 8.5 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of SimCode: time 4e-07/0.007756, allocations: 8.062 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of Templates: time 0.002005/0.00976, allocations: 0.7126 MB / 0.6256 GB, free: 6.398 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.124644719064236] Failed to read output from testmodel.py, exit status != 0: 0.01497084554284811 0.023572345 0.017767172 Calling exit ...