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.0009026/0.0009026, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001256/0.001256, allocations: 173 kB / 23.28 MB, free: 1.219 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.091/1.091, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.7999/0.7999, allocations: 154.9 MB / 415.1 MB, free: 280 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 2.294e-06/2.294e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.914e-05, allocations: 6.141 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.005273/0.005302, allocations: 1.289 MB / 0.5224 GB, free: 240 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008737/0.006176, allocations: 0.5498 MB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.006205, allocations: 0.625 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.006224, allocations: 0 / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.006269, allocations: 0.9688 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.006699, allocations: 149 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.006744, allocations: 7.938 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.006782, allocations: 0 / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.006816, allocations: 12.55 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.006861, allocations: 3.984 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.006873, allocations: 4.5 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.008266, allocations: 268.5 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.00828, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.008295, allocations: 7.938 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.008514, allocations: 144.7 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.008517, allocations: 0 / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008518, allocations: 0 / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.008521, allocations: 0.625 kB / 0.5235 GB, free: 15.11 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.0003153/0.008837, allocations: 376 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.008875, allocations: 13.56 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.008899, allocations: 4.875 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.008979, allocations: 108.6 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.008989, allocations: 5.281 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-06/0.008994, allocations: 384 / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.484e-05/0.009059, allocations: 35.25 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.009066, allocations: 192 / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.009072, allocations: 384 / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.009077, allocations: 1.5 kB / 0.524 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.349e-05/0.00909, allocations: 11.88 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.009195, allocations: 89.61 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.727e-05/0.009232, allocations: 31.97 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.009246, allocations: 11.69 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.009268, allocations: 0.5312 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.009293, allocations: 46.19 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.009294, allocations: 0 / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001012/0.009395, allocations: 46.3 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.009421, allocations: 51.91 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.009487, allocations: 158.8 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.009495, allocations: 25.7 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.009531, allocations: 133.8 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.009554, allocations: 11.89 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.009584, allocations: 19.38 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.009701, allocations: 496.1 kB / 0.5251 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.009711, allocations: 4 kB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.009718, allocations: 0 / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.009744, allocations: 12.75 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.009746, allocations: 0 / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.618e-05/0.009802, allocations: 45.62 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.009813, allocations: 7.219 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.009818, allocations: 0.5625 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.00983, allocations: 4 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.009956, allocations: 12.92 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.01124, allocations: 0.8947 MB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.01127, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01127, allocations: 4 kB / 0.5261 GB, free: 12.27 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 6.977e-05/0.01134, allocations: 161.5 kB / 0.5262 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.01135, allocations: 7.938 kB / 0.5262 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.01144, allocations: 46.19 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01144, allocations: 0 / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01144, allocations: 0 / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01145, allocations: 2.75 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.474e-05/0.01152, allocations: 97.27 kB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01152, allocations: 0 / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.01159, allocations: 11.98 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01159, allocations: 0 / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.0116, allocations: 0 / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003031/0.0119, allocations: 0.9033 MB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0119, allocations: 0 / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.862e-05/0.01196, allocations: 72.44 kB / 0.5273 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-06/0.01197, allocations: 7.938 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.01198, allocations: 0 / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.01199, allocations: 0 / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-06/0.012, allocations: 0.6875 kB / 0.5273 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.012, allocations: 8.953 kB / 0.5273 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.01204, allocations: 119.2 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01204, allocations: 0.6562 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001822/0.01222, allocations: 11.94 kB / 0.5275 GB, free: 10.74 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.00015/0.01237, allocations: 110.6 kB / 0.5276 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.01249, allocations: 27.67 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01249, allocations: 0 / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.01254, allocations: 23.67 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.01267, allocations: 0.5625 kB / 0.5276 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.01292, allocations: 121 kB / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.01295, allocations: 59.28 kB / 0.5278 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.01296, allocations: 0 / 0.5278 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.013, allocations: 70.2 kB / 0.5279 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.013, allocations: 0.5 kB / 0.5279 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.005354/0.01835, allocations: 0.509 MB / 0.5284 GB, free: 9.824 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.7160170269198716]