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.0007617/0.0007617, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007714/0.0007714, allocations: 177.9 kB / 23.22 MB, free: 1.332 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 0.8622/0.8622, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6992/0.6992, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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 179] 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 2.785e-06/2.785e-06, allocations: 3.938 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.933e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.00188/0.00191, allocations: 0.6795 MB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000969/0.002879, allocations: 0.8315 MB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.002915, allocations: 0 / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.002945, allocations: 3.938 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.003012, allocations: 11.91 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001062/0.003118, allocations: 15.98 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.003207, allocations: 43.8 kB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00331, allocations: 11.98 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.003395, allocations: 19.98 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.003442, allocations: 19.92 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.003472, allocations: 4 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.003483, allocations: 4 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.003505, allocations: 15.97 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.003528, allocations: 4 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.003638, allocations: 51.8 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.003641, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003642, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003646, allocations: 0 / 0.6211 GB, free: 11.37 MB / 0.5886 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.0004487/0.004094, allocations: 286.3 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.004132, allocations: 11.97 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.004166, allocations: 8.891 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.004256, allocations: 109.8 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.004269, allocations: 384 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004279, allocations: 384 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.004494, allocations: 74.16 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004503, allocations: 192 / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.004513, allocations: 384 / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.004517, allocations: 384 / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.004745, allocations: 71.86 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.005075, allocations: 208.6 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.00524, allocations: 66.45 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.00535, allocations: 36.92 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.005371, allocations: 0 / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.005395, allocations: 34.56 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005397, allocations: 3.938 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004498/0.005846, allocations: 129.5 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.00588, allocations: 51.41 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.00596, allocations: 113.8 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.005974, allocations: 25.7 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.006016, allocations: 95.97 kB / 0.6224 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.006039, allocations: 15.94 kB / 0.6224 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.006073, allocations: 9.719 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.006163, allocations: 314.8 kB / 0.6227 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.006278, allocations: 31.95 kB / 0.6227 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.006374, allocations: 35.97 kB / 0.6227 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.006586, allocations: 64.78 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006588, allocations: 0 / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002529/0.006841, allocations: 97.62 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.006857, allocations: 15.94 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.006862, allocations: 0 / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.006874, allocations: 0 / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.00698, allocations: 23.91 kB / 0.6229 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.006986, allocations: 4 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.735e-05/0.007043, allocations: 11.94 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.007052, allocations: 4 kB / 0.623 GB, free: 9.277 MB / 0.5886 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 6.378e-05/0.007115, allocations: 106.8 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.007139, allocations: 8 kB / 0.6231 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.007424, allocations: 105.5 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.007427, allocations: 4 kB / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.007431, allocations: 0 / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007434, allocations: 0 / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.571e-05/0.007519, allocations: 117.2 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.00752, allocations: 0 / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.007567, allocations: 19.97 kB / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007568, allocations: 0 / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.007574, allocations: 4 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007577, allocations: 7.875 kB / 0.6233 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007578, allocations: 0 / 0.6233 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.007751, allocations: 187.8 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.007757, allocations: 7.984 kB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.007766, allocations: 3.984 kB / 0.6235 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.124e-05/0.007817, allocations: 27.91 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.007847, allocations: 0 / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.00785, allocations: 0 / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.00788, allocations: 91.27 kB / 0.6236 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007881, allocations: 0 / 0.6236 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001382/0.008019, allocations: 8 kB / 0.6236 GB, free: 8.527 MB / 0.5886 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 6.61e-05/0.008085, allocations: 91.25 kB / 0.6237 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.008257, allocations: 71.86 kB / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008259, allocations: 0 / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.008327, allocations: 35.95 kB / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.008516, allocations: 12 kB / 0.6238 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.00875, allocations: 150.5 kB / 0.624 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.008789, allocations: 67.34 kB / 0.624 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.008818, allocations: 12.5 kB / 0.624 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of SimCode: time 3.4e-07/0.008818, allocations: 0 / 0.624 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of Templates: time 0.001351/0.01017, allocations: 0.7671 MB / 0.6248 GB, free: 7.27 MB / 0.5886 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: 4.783693213015795] Failed to read output from testmodel.py, exit status != 0: 0.016201650723814964 0.022889091 0.017585871 Calling exit ...