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.001645/0.001645, allocations: 92.7 kB / 19.44 MB, free: 324 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.00213/0.00213, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.232/1.232, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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 178] 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 2.184e-06/2.184e-06, allocations: 0 / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.422e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002751/0.002786, allocations: 1.26 MB / 0.5209 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003976, allocations: 0.5193 MB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.004003, allocations: 0 / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.004028, allocations: 0 / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.004083, allocations: 7.875 kB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.004689, allocations: 145.2 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.004752, allocations: 7.938 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.00479, allocations: 4.5 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.004827, allocations: 7.984 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.004877, allocations: 1.031 kB / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.004892, allocations: 0 / 0.5215 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.00539, allocations: 272.6 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.005406, allocations: 3.984 kB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.005432, allocations: 3.938 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.005743, allocations: 151.6 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.005749, allocations: 0.625 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005751, allocations: 1.5 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.005757, allocations: 0 / 0.5219 GB, free: 208 kB / 490.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.000513/0.00627, allocations: 278 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.006316, allocations: 8.031 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.006359, allocations: 5.781 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.006485, allocations: 101.8 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.006511, allocations: 5.438 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.006522, allocations: 8.312 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.006628, allocations: 31.33 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.006637, allocations: 192 / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.006646, allocations: 384 / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006651, allocations: 1.312 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.006684, allocations: 11.92 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.006851, allocations: 97.33 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.006917, allocations: 23.17 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.006942, allocations: 9.516 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.006972, allocations: 8.812 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.00701, allocations: 30.56 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.007011, allocations: 0.875 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.00719, allocations: 41.64 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.007247, allocations: 62.28 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.007342, allocations: 93.8 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.007363, allocations: 25.7 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.007425, allocations: 84.14 kB / 0.5228 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.007456, allocations: 7.938 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.007492, allocations: 17.72 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.007665, allocations: 310.8 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.007681, allocations: 5.062 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.007692, allocations: 4 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.007726, allocations: 13.42 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007727, allocations: 0.5625 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.581e-05/0.007803, allocations: 42.62 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.007817, allocations: 4 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007822, allocations: 1.438 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.007842, allocations: 0 / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.008008, allocations: 11.98 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00058/0.008588, allocations: 0.5985 MB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.00861, allocations: 4.031 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.008616, allocations: 1.188 kB / 0.5238 GB, free: 14.1 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 9.213e-05/0.008708, allocations: 105.8 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.008722, allocations: 10.69 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.008842, allocations: 45 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008843, allocations: 3.938 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.008847, allocations: 0 / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00885, allocations: 0 / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.00896, allocations: 101.3 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.008961, allocations: 0 / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.009059, allocations: 14.45 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.009062, allocations: 0 / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.009073, allocations: 3.938 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004319/0.009504, allocations: 0.5821 MB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009505, allocations: 4.031 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.668e-05/0.009602, allocations: 69.62 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.009615, allocations: 8.969 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.009626, allocations: 0 / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.00964, allocations: 0 / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.009659, allocations: 4.641 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.009661, allocations: 0 / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.009713, allocations: 82.72 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009713, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002031/0.009916, allocations: 8 kB / 0.5248 GB, free: 12.99 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.0002164/0.01013, allocations: 111.2 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.01031, allocations: 15.98 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01031, allocations: 2.75 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.01044, allocations: 19.92 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.0106, allocations: 4.875 kB / 0.525 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.01103, allocations: 104.7 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.313e-05/0.01109, allocations: 63.89 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.0111, allocations: 1.469 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.01113, allocations: 8.5 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01113, allocations: 0 / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.003122/0.01425, allocations: 496.9 kB / 0.5256 GB, free: 12.18 MB / 0.4948 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.8669825240504]