Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001223/0.001223, allocations: 79.42 kB / 19.17 MB, free: 2.371 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.001321/0.001321, allocations: 160.4 kB / 22.45 MB, free: 5.516 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.396/1.396, allocations: 177.2 MB / 202.8 MB, free: 9.18 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.163/1.163, allocations: 154.7 MB / 413.9 MB, free: 5.137 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.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.685e-06, allocations: 4 kB / 0.6188 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/4.542e-05, allocations: 6 kB / 0.6188 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.002154/0.002199, allocations: 0.6861 MB / 0.6195 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003572, allocations: 0.8237 MB / 0.6203 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.003619, allocations: 0 / 0.6203 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.003651, allocations: 3.938 kB / 0.6203 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.069e-05/0.003732, allocations: 7.938 kB / 0.6203 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.003874, allocations: 15.98 kB / 0.6203 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.003991, allocations: 47.83 kB / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.004121, allocations: 15.94 kB / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.004227, allocations: 27.91 kB / 0.6204 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.42e-05/0.004281, allocations: 15.98 kB / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.004303, allocations: 0 / 0.6204 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.004314, allocations: 4 kB / 0.6204 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.004343, allocations: 11.94 kB / 0.6204 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.004379, allocations: 11.98 kB / 0.6204 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.004507, allocations: 43.86 kB / 0.6205 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.00451, allocations: 4 kB / 0.6205 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.137e-06/0.004514, allocations: 3.984 kB / 0.6205 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.00452, allocations: 3.938 kB / 0.6205 GB, free: 2.742 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005594/0.00508, allocations: 286.2 kB / 0.6208 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.00512, allocations: 8.031 kB / 0.6208 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.005155, allocations: 8.891 kB / 0.6208 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.005268, allocations: 113.7 kB / 0.6209 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005281, allocations: 384 / 0.6209 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005292, allocations: 384 / 0.6209 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.005548, allocations: 78.2 kB / 0.621 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.00556, allocations: 192 / 0.621 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.005572, allocations: 384 / 0.621 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.005587, allocations: 4.359 kB / 0.621 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.005869, allocations: 67.86 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.006235, allocations: 204.6 kB / 0.6212 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.006444, allocations: 62.48 kB / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.006593, allocations: 36.91 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.006623, allocations: 4 kB / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.006654, allocations: 30.56 kB / 0.6214 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006655, allocations: 0 / 0.6214 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005741/0.007229, allocations: 137.5 kB / 0.6215 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.007278, allocations: 51.41 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.007392, allocations: 109.8 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.007415, allocations: 29.7 kB / 0.6217 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.007475, allocations: 88.06 kB / 0.6218 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.007501, allocations: 15.91 kB / 0.6218 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.00754, allocations: 17.7 kB / 0.6218 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.007692, allocations: 318.8 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.007836, allocations: 27.97 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.00797, allocations: 35.95 kB / 0.6222 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.008237, allocations: 64.78 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.008238, allocations: 8 kB / 0.6222 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003124/0.008551, allocations: 97.56 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.00857, allocations: 10.12 kB / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008575, allocations: 3.938 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.008592, allocations: 0 / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.008724, allocations: 15.98 kB / 0.6223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.00873, allocations: 0 / 0.6223 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.008811, allocations: 23.91 kB / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008818, allocations: 0 / 0.6224 GB, free: 0.6484 MB / 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.00891, allocations: 111.7 kB / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.008936, allocations: 7.953 kB / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.009295, allocations: 105.5 kB / 0.6226 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.009297, allocations: 0 / 0.6226 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.009301, allocations: 7.938 kB / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009306, allocations: 4 kB / 0.6226 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.009453, allocations: 113.3 kB / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.009454, allocations: 0 / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.00955, allocations: 15.98 kB / 0.6227 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009553, allocations: 3.984 kB / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.009561, allocations: 0 / 0.6227 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.009565, allocations: 3.938 kB / 0.6227 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009566, allocations: 384 / 0.6227 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.009941, allocations: 203.4 kB / 0.6229 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.009948, allocations: 0 / 0.6229 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.009964, allocations: 4 kB / 0.6229 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.01009, allocations: 19.97 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.01014, allocations: 0 / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01015, allocations: 4 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.0102, allocations: 87.2 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0102, allocations: 7.938 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002118/0.01041, allocations: 8 kB / 0.623 GB, free: 15.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001333/0.01054, allocations: 91.25 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.01089, allocations: 67.92 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01089, allocations: 0 / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.01103, allocations: 39.95 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.01136, allocations: 8 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.01171, allocations: 120.7 kB / 0.6234 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.596e-05/0.01178, allocations: 67.33 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.01181, allocations: 0 / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.01184, allocations: 16.5 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.01184, allocations: 7.938 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of Templates: time 0.003458/0.0153, allocations: 0.7275 MB / 0.6242 GB, free: 14.71 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.511316280812025] Failed to read output from testmodel.py, exit status != 0: 0.02461262419819832 0.039353193 0.031837606000000004 Calling exit ...