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.001547/0.001547, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00151/0.00151, allocations: 167 kB / 22.46 MB, free: 5.375 MB / 14.72 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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-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 1.208/1.208, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 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 1.683e-06/1.683e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.746e-05, allocations: 3.312 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002559/0.002587, allocations: 1.266 MB / 0.6198 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.003593, allocations: 0.5176 MB / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.968e-05/0.003622, allocations: 0 / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.003642, allocations: 0 / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.003683, allocations: 7.922 kB / 0.6203 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.004291, allocations: 139.3 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.004343, allocations: 11.92 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.004392, allocations: 7.984 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.765e-05/0.00442, allocations: 4 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.00446, allocations: 4 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.004474, allocations: 0 / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.004943, allocations: 275.3 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.004957, allocations: 0 / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.004979, allocations: 7.938 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.005281, allocations: 143.6 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005284, allocations: 0 / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005285, allocations: 4 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.005289, allocations: 0 / 0.6209 GB, free: 2.16 MB / 0.5294 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.0004233/0.005712, allocations: 289.9 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.00575, allocations: 8.031 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.005784, allocations: 4.938 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.005911, allocations: 109.8 kB / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.005923, allocations: 384 / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.00593, allocations: 384 / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.006032, allocations: 38.2 kB / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.006041, allocations: 192 / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.006049, allocations: 384 / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.006054, allocations: 384 / 0.6213 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.006082, allocations: 11.94 kB / 0.6213 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.00623, allocations: 105.3 kB / 0.6214 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.006294, allocations: 18.61 kB / 0.6215 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.006316, allocations: 8.922 kB / 0.6215 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.006336, allocations: 3.938 kB / 0.6215 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.006364, allocations: 30.56 kB / 0.6215 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.006365, allocations: 3.938 kB / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001448/0.006509, allocations: 45.69 kB / 0.6215 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.006551, allocations: 51.41 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.006644, allocations: 105.9 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.006662, allocations: 25.7 kB / 0.6217 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.936e-05/0.006701, allocations: 80.14 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.006724, allocations: 3.953 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.006758, allocations: 13.72 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.006918, allocations: 318.8 kB / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.006933, allocations: 4 kB / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.006943, allocations: 3.938 kB / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.006976, allocations: 13.05 kB / 0.6221 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006977, allocations: 4 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.834e-05/0.007046, allocations: 41.66 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.007059, allocations: 4 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.007066, allocations: 3.984 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.00708, allocations: 0 / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.007238, allocations: 11.94 kB / 0.6222 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.007698, allocations: 0.5937 MB / 0.6228 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.007716, allocations: 0 / 0.6228 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.007722, allocations: 0 / 0.6228 GB, free: 32 kB / 0.5294 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.007827, allocations: 118.9 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-06/0.007836, allocations: 7.969 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.007945, allocations: 45 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007947, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.007951, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.007954, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.586e-05/0.00805, allocations: 97.33 kB / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008051, allocations: 0 / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.008133, allocations: 15.92 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.008135, allocations: 4.031 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.008143, allocations: 3.938 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003766/0.00852, allocations: 0.5822 MB / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008521, allocations: 0 / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.008608, allocations: 80.98 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.008619, allocations: 7.938 kB / 0.6237 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.008628, allocations: 0 / 0.6237 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.008642, allocations: 0 / 0.6237 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.008653, allocations: 0 / 0.6237 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.008655, allocations: 4.125 kB / 0.6237 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.008699, allocations: 83.28 kB / 0.6238 GB, free: 14.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.008699, allocations: 0 / 0.6238 GB, free: 14.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001925/0.008891, allocations: 15.92 kB / 0.6238 GB, free: 14.89 MB / 0.545 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.0001764/0.009068, allocations: 103.2 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.009231, allocations: 15.98 kB / 0.6239 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.009233, allocations: 0 / 0.6239 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/0.009327, allocations: 24.14 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.009518, allocations: 7.875 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.009882, allocations: 110.1 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.481e-05/0.009936, allocations: 59.34 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.423e-05/0.009951, allocations: 0 / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.009972, allocations: 12.48 kB / 0.6241 GB, free: 14.51 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.009972, allocations: 0 / 0.6241 GB, free: 14.51 MB / 0.545 GB Notification: Performance of Templates: time 0.002967/0.01294, allocations: 467 kB / 0.6246 GB, free: 14.09 MB / 0.545 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.847075577825308] Failed to read output from testmodel.py, exit status != 0: 0.021670620888471603 0.036592384000000006 0.028173253000000002 Calling exit ...