Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0006977/0.0006977, allocations: 76.55 kB / 19.93 MB, free: 4.629 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.000712/0.000712, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8723/0.8723, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.7058/0.7058, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.303e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001776/0.001799, allocations: 1.27 MB / 0.6206 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.002538, allocations: 0.5137 MB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.002561, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.002578, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.002617, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.003012, allocations: 147.2 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.003063, allocations: 19.88 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.003106, allocations: 3.984 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.00314, allocations: 7.984 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.003181, allocations: 0 / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.003194, allocations: 0 / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.003468, allocations: 271.4 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.003482, allocations: 3.938 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.003496, allocations: 0 / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.003683, allocations: 151.6 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.003686, allocations: 0 / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003686, allocations: 0 / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.00369, allocations: 0 / 0.6217 GB, free: 10.77 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.0003274/0.004018, allocations: 278 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.004058, allocations: 12.03 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.004087, allocations: 0.9375 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.004162, allocations: 101.8 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.004173, allocations: 4.375 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.004181, allocations: 384 / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.004264, allocations: 42.2 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.004272, allocations: 192 / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.004283, allocations: 8.344 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004287, allocations: 384 / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.004312, allocations: 7.938 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.004418, allocations: 93.33 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.00447, allocations: 30.55 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.004485, allocations: 4.859 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.004506, allocations: 4.062 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.004528, allocations: 42.48 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.004529, allocations: 0 / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001251/0.004654, allocations: 41.66 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.004684, allocations: 55.41 kB / 0.6223 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.004733, allocations: 93.8 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.004742, allocations: 25.7 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.004768, allocations: 92.12 kB / 0.6225 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.004793, allocations: 3.953 kB / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.004812, allocations: 9.719 kB / 0.6226 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.004892, allocations: 315.1 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.004905, allocations: 8 kB / 0.6229 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.004913, allocations: 4 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.004938, allocations: 12.8 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00494, allocations: 0 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.478e-05/0.004984, allocations: 45.62 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.004997, allocations: 10.03 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005001, allocations: 0 / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.005013, allocations: 0 / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.005144, allocations: 11.98 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002666/0.005411, allocations: 0.5899 MB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.005423, allocations: 0 / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.005427, allocations: 0 / 0.6235 GB, free: 8.656 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.218e-05/0.00549, allocations: 110.9 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-06/0.005493, allocations: 3.938 kB / 0.6236 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/0.005578, allocations: 48.95 kB / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005579, allocations: 0 / 0.6237 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.005585, allocations: 4 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005587, allocations: 4.125 kB / 0.6237 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.533e-05/0.005642, allocations: 101.3 kB / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005643, allocations: 0 / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.005686, allocations: 8 kB / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.00569, allocations: 4 kB / 0.6238 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.005697, allocations: 7.938 kB / 0.6238 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001966/0.005893, allocations: 0.5898 MB / 0.6244 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.005896, allocations: 3.984 kB / 0.6244 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.545e-05/0.005941, allocations: 65.11 kB / 0.6244 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005948, allocations: 8.062 kB / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-06/0.005956, allocations: 0 / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.005963, allocations: 0 / 0.6245 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.005978, allocations: 11.92 kB / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.00598, allocations: 0 / 0.6245 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.006003, allocations: 75.28 kB / 0.6245 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006003, allocations: 0 / 0.6245 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001229/0.006126, allocations: 12 kB / 0.6245 GB, free: 7.52 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.000124/0.00625, allocations: 118.1 kB / 0.6247 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.006362, allocations: 19.98 kB / 0.6247 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006363, allocations: 0 / 0.6247 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.006394, allocations: 11.98 kB / 0.6247 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.006502, allocations: 11.94 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.006788, allocations: 121.8 kB / 0.6248 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.685e-05/0.006825, allocations: 55.36 kB / 0.6249 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.00684, allocations: 16.62 kB / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.00684, allocations: 3.938 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of Templates: time 0.001727/0.008567, allocations: 0.7102 MB / 0.6256 GB, free: 6.402 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.158523703925312] Failed to read output from testmodel.py, exit status != 0: 0.013067220337688923 0.020951729000000002 0.015688945 Calling exit ...