Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001773/0.001773, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002337/0.002337, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.235/1.235, allocations: 154.8 MB / 414.3 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5199 GB, free: 2.305 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.207e-05, allocations: 8.828 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002718/0.00275, allocations: 1.26 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003943, allocations: 0.5139 MB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.003972, allocations: 1.25 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.003997, allocations: 3.938 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.004052, allocations: 3.938 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.004625, allocations: 137.4 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.004675, allocations: 11.94 kB / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.00471, allocations: 11.92 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.628e-05/0.004736, allocations: 1.969 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.004784, allocations: 7.984 kB / 0.5218 GB, free: 372 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.004797, allocations: 0 / 0.5218 GB, free: 372 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.005252, allocations: 267.4 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.005276, allocations: 4 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.005303, allocations: 4.5 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.005596, allocations: 148.6 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005599, allocations: 0 / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.0056, allocations: 0 / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.005604, allocations: 0.8438 kB / 0.5222 GB, free: 15.95 MB / 0.4948 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.0004313/0.006035, allocations: 278 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.006071, allocations: 9.062 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.006113, allocations: 4.938 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.006239, allocations: 105.7 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.006251, allocations: 1.406 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.006261, allocations: 4.375 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.269e-05/0.006353, allocations: 35.78 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.006361, allocations: 192 / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.00637, allocations: 4.375 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.006373, allocations: 384 / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.006401, allocations: 8.969 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.006554, allocations: 101.3 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.602e-05/0.00663, allocations: 35.22 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.006653, allocations: 8.844 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.006678, allocations: 1.281 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.006715, allocations: 34.62 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.006716, allocations: 0 / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001868/0.006903, allocations: 42.53 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.006952, allocations: 55.39 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.007052, allocations: 106.5 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.007074, allocations: 26.48 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.007126, allocations: 80.14 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.00717, allocations: 8.797 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.007201, allocations: 9.719 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.007387, allocations: 321.2 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.609e-05/0.007403, allocations: 3.984 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.007413, allocations: 4 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.007446, allocations: 8.859 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007448, allocations: 0 / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.072e-05/0.007518, allocations: 38.64 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.007537, allocations: 8 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007542, allocations: 1.5 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.007563, allocations: 3.938 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.007732, allocations: 11.98 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005263/0.008258, allocations: 0.5865 MB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.00828, allocations: 4.844 kB / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.008288, allocations: 4.031 kB / 0.5241 GB, free: 13.84 MB / 0.4948 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 0.000105/0.008393, allocations: 114.5 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.008404, allocations: 4.531 kB / 0.5242 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.008528, allocations: 45.58 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008529, allocations: 4.5 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.008538, allocations: 3.984 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.00854, allocations: 2.938 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.008647, allocations: 97.33 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008648, allocations: 0 / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.008724, allocations: 11.98 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008725, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.008734, allocations: 3.938 kB / 0.5243 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000438/0.009172, allocations: 0.5845 MB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009173, allocations: 0 / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.00927, allocations: 73.03 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.009276, allocations: 0 / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.009292, allocations: 8 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.422e-05/0.009306, allocations: 0 / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.009323, allocations: 1.438 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.009328, allocations: 4 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.009382, allocations: 79.28 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009382, allocations: 1.031 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001972/0.009579, allocations: 8 kB / 0.5251 GB, free: 12.72 MB / 0.4948 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.0001973/0.009777, allocations: 108.3 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.009953, allocations: 27.05 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.009955, allocations: 0 / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.01005, allocations: 15.98 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.0102, allocations: 3.938 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.01058, allocations: 114.6 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.01063, allocations: 62.38 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.437e-05/0.01065, allocations: 0 / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.01067, allocations: 8.5 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.01067, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.002968/0.01364, allocations: 484.6 kB / 0.5259 GB, free: 11.92 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.882646869984455]