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.0009921/0.0009921, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.0009627/0.0009627, allocations: 173 kB / 23.5 MB, free: 1.059 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.119/1.119, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8489/0.8489, allocations: 154.8 MB / 415.1 MB, free: 460 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 179] 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.593e-06/1.593e-06, allocations: 0 / 0.5206 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.971e-05, allocations: 5.453 kB / 0.5206 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001727/0.001756, allocations: 1.303 MB / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.002526, allocations: 0.5519 MB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.002551, allocations: 0.5625 kB / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.002571, allocations: 0 / 0.5224 GB, free: 460 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.661e-05/0.002618, allocations: 4.5 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.003056, allocations: 148.5 kB / 0.5225 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.186e-05/0.003108, allocations: 9.375 kB / 0.5225 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.003147, allocations: 0 / 0.5225 GB, free: 300 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.003179, allocations: 4 kB / 0.5225 GB, free: 296 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.003227, allocations: 7.984 kB / 0.5226 GB, free: 288 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.003241, allocations: 0.7812 kB / 0.5226 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.003523, allocations: 263.4 kB / 0.5228 GB, free: 24 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.003535, allocations: 0.875 kB / 0.5228 GB, free: 24 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.003554, allocations: 15.91 kB / 0.5228 GB, free: 8 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.003761, allocations: 150.5 kB / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003764, allocations: 0 / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003764, allocations: 0 / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003769, allocations: 0 / 0.523 GB, free: 15.86 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.0003381/0.004107, allocations: 372 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.004145, allocations: 12.02 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.004182, allocations: 0.9375 kB / 0.5233 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.46e-05/0.004267, allocations: 113 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.004277, allocations: 0.9375 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.004284, allocations: 1.594 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.004362, allocations: 34.27 kB / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.004368, allocations: 192 / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.004375, allocations: 1.344 kB / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.004382, allocations: 384 / 0.5235 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.004402, allocations: 15.86 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.004513, allocations: 117.6 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.004555, allocations: 27.06 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.004575, allocations: 8.688 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.004592, allocations: 4.062 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.004611, allocations: 34.33 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.004612, allocations: 3.938 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001218/0.004733, allocations: 46.84 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.004761, allocations: 51.41 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/0.00483, allocations: 158.5 kB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.004838, allocations: 29.7 kB / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.004868, allocations: 128.7 kB / 0.5241 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.004897, allocations: 15.88 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.004919, allocations: 15.38 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.005153, allocations: 0.4884 MB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.005163, allocations: 0 / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.00517, allocations: 1.438 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.005195, allocations: 15.69 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005196, allocations: 0.5625 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.751e-05/0.005244, allocations: 46.81 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.005256, allocations: 4 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.00526, allocations: 0 / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.005272, allocations: 0.7188 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.005406, allocations: 11.98 kB / 0.5247 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003097/0.005716, allocations: 0.8956 MB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.321e-05/0.005729, allocations: 0 / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.005734, allocations: 4 kB / 0.5255 GB, free: 13.01 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 5.947e-05/0.005794, allocations: 156.5 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-06/0.0058, allocations: 5.719 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.005884, allocations: 45 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.005888, allocations: 4 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005891, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005895, allocations: 6.75 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.665e-05/0.005952, allocations: 108.6 kB / 0.5258 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.005953, allocations: 4 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.091e-05/0.006004, allocations: 7.984 kB / 0.5259 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006006, allocations: 4 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.006013, allocations: 7.922 kB / 0.5259 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002333/0.006247, allocations: 0.8989 MB / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006248, allocations: 0 / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.786e-05/0.006295, allocations: 76.38 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006302, allocations: 4 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.006311, allocations: 4.875 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.006318, allocations: 0 / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.006333, allocations: 3.984 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.006335, allocations: 4.719 kB / 0.5268 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.006365, allocations: 121.6 kB / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006365, allocations: 0 / 0.527 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001351/0.0065, allocations: 11.94 kB / 0.527 GB, free: 11.45 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.0001267/0.006627, allocations: 107.2 kB / 0.5271 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.006751, allocations: 28.55 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.006753, allocations: 4 kB / 0.5271 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/0.006794, allocations: 20.33 kB / 0.5271 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001104/0.006905, allocations: 10.66 kB / 0.5271 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.007169, allocations: 122.2 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.007198, allocations: 51.36 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.007213, allocations: 0 / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.007227, allocations: 15.62 kB / 0.5273 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.007228, allocations: 0 / 0.5273 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.002108/0.009336, allocations: 480.6 kB / 0.5278 GB, free: 10.62 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9160416540689766]