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.0008429/0.0008429, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.000924/0.000924, allocations: 177 kB / 23.36 MB, free: 1.129 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.9736/0.9736, allocations: 177.1 MB / 203.8 MB, free: 5.477 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-545:108: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-545:116: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.7812/0.7812, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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.623e-06/1.623e-06, allocations: 0 / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.336e-05, allocations: 7.25 kB / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001483/0.001497, allocations: 1.304 MB / 481.3 MB, free: 5.656 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.0022, allocations: 0.5506 MB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.002219, allocations: 0.6562 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.002238, allocations: 0.6562 kB / 481.8 MB, free: 5.113 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.002282, allocations: 8.797 kB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.002627, allocations: 144.4 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.002668, allocations: 10.83 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.002699, allocations: 0.875 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.734e-05/0.002726, allocations: 4.875 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.002769, allocations: 9.609 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.002781, allocations: 3.984 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.003051, allocations: 268.9 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.003062, allocations: 0 / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.233e-05/0.003074, allocations: 4 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.003245, allocations: 148.4 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003247, allocations: 0 / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003248, allocations: 0.625 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.524e-06/0.00325, allocations: 0 / 482.4 MB, free: 4.547 MB / 442.7 MB 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.0002391/0.003489, allocations: 260.8 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.003518, allocations: 8.031 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.003536, allocations: 4.922 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.365e-05/0.0036, allocations: 106.3 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.003609, allocations: 1.688 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.003616, allocations: 384 / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.335e-05/0.003669, allocations: 38.14 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.003676, allocations: 1.25 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-06/0.003681, allocations: 384 / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.003686, allocations: 384 / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.156e-05/0.003697, allocations: 12.86 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.21e-05/0.003769, allocations: 57.05 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.253e-05/0.003802, allocations: 23.11 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.069e-05/0.003813, allocations: 6.297 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.003823, allocations: 0 / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.00384, allocations: 38.56 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003841, allocations: 0 / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.126e-05/0.003932, allocations: 38.47 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.003963, allocations: 52.84 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.004015, allocations: 98.7 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.004025, allocations: 29.7 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.004043, allocations: 80.98 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.004065, allocations: 12.23 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.004087, allocations: 14.84 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/0.00416, allocations: 318.8 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.004168, allocations: 4 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.004175, allocations: 8.719 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/0.004193, allocations: 9.734 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004195, allocations: 0 / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.958e-05/0.004235, allocations: 38.75 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.004244, allocations: 4 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.004247, allocations: 0 / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.004257, allocations: 0.625 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.00436, allocations: 8.625 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002114/0.004571, allocations: 0.5904 MB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.004582, allocations: 4.625 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-06/0.004586, allocations: 0 / 484.3 MB, free: 2.539 MB / 442.7 MB 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 0.0001037/0.004689, allocations: 106.5 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.004698, allocations: 5.938 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.004765, allocations: 38.44 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004767, allocations: 4.469 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.004768, allocations: 0 / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.00477, allocations: 4.844 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.841e-05/0.004819, allocations: 74.42 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00482, allocations: 1.031 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.004863, allocations: 11.98 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.004865, allocations: 0 / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.004868, allocations: 0.9062 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001735/0.005042, allocations: 0.5839 MB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005042, allocations: 0 / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.699e-05/0.005079, allocations: 61.06 kB / 485.2 MB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.005086, allocations: 3.938 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.005093, allocations: 10.31 kB / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-06/0.005099, allocations: 0 / 485.2 MB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.00511, allocations: 5.578 kB / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.005112, allocations: 0 / 485.2 MB, free: 1.574 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.356e-06/0.00512, allocations: 8.859 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00512, allocations: 0 / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of remove unused functions: time 9.769e-05/0.005218, allocations: 9.625 kB / 485.2 MB, free: 1.555 MB / 442.7 MB 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 9.634e-05/0.005314, allocations: 91.53 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.005397, allocations: 17.66 kB / 485.3 MB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.005399, allocations: 4 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.005429, allocations: 17.89 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.2e-05/0.005481, allocations: 12.67 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.005672, allocations: 108.2 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.798e-05/0.0057, allocations: 55.34 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.28e-05/0.005713, allocations: 1.281 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.005739, allocations: 51.38 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.005739, allocations: 0 / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of Templates: time 0.001782/0.007521, allocations: 0.5334 MB / 486.1 MB, free: 0.6719 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5075366557575762]