Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.00207/0.00207, allocations: 88.72 kB / 19.44 MB, free: 356 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.002169/0.002169, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.57 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.316/1.316, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.865e-06/2.865e-06, allocations: 0.9844 kB / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.369e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001899/0.001932, allocations: 0.6481 MB / 0.5203 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003262, allocations: 0.8357 MB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.003303, allocations: 4.812 kB / 0.5211 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.003329, allocations: 0 / 0.5211 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.003403, allocations: 9.219 kB / 0.5211 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.003602, allocations: 11.98 kB / 0.5212 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.003683, allocations: 19.92 kB / 0.5212 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.003777, allocations: 9.328 kB / 0.5212 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.003855, allocations: 12 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.003906, allocations: 7.922 kB / 0.5212 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003924, allocations: 4 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.003976, allocations: 12.72 kB / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.00399, allocations: 0 / 0.5212 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.004027, allocations: 17.78 kB / 0.5212 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.004136, allocations: 15.97 kB / 0.5213 GB, free: 0.875 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004138, allocations: 3.938 kB / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004139, allocations: 0 / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004143, allocations: 0 / 0.5213 GB, free: 0.8711 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005013/0.004645, allocations: 260.5 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.004687, allocations: 8.031 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.004813, allocations: 12.83 kB / 0.5215 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004949, allocations: 117.7 kB / 0.5216 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.004963, allocations: 1.844 kB / 0.5216 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.004971, allocations: 384 / 0.5216 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.005161, allocations: 46.25 kB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.005172, allocations: 4.172 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.005181, allocations: 1.344 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.005186, allocations: 384 / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.00537, allocations: 36.88 kB / 0.5217 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.005727, allocations: 197.6 kB / 0.5219 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.00588, allocations: 31.06 kB / 0.5219 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.906e-05/0.005979, allocations: 25.69 kB / 0.522 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.006001, allocations: 3.984 kB / 0.522 GB, free: 44 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.006036, allocations: 31.78 kB / 0.522 GB, free: 4 kB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.006037, allocations: 0 / 0.522 GB, free: 4 kB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004118/0.006449, allocations: 95.75 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.006499, allocations: 51.41 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006606, allocations: 105.8 kB / 0.5222 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.006626, allocations: 25.7 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.006686, allocations: 81.86 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.006711, allocations: 3.953 kB / 0.5223 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.006759, allocations: 17.72 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004557/0.007215, allocations: 314.8 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.007353, allocations: 17.45 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.007474, allocations: 15.98 kB / 0.5227 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.007746, allocations: 43.05 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007749, allocations: 0 / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003447/0.008093, allocations: 66.38 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.008118, allocations: 10.12 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.008128, allocations: 3.938 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.008147, allocations: 3.938 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.008278, allocations: 14.77 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.008285, allocations: 4 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/0.008367, allocations: 7.984 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.008374, allocations: 0 / 0.5228 GB, free: 15.09 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): 2 * 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 0.0001098/0.008484, allocations: 105.8 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.008522, allocations: 4 kB / 0.5229 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.008853, allocations: 79.59 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008856, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.008859, allocations: 0 / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.008866, allocations: 4 kB / 0.523 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.009072, allocations: 105.3 kB / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.009073, allocations: 0 / 0.5231 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.133e-05/0.009155, allocations: 8.859 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009157, allocations: 0 / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.009165, allocations: 0.9688 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.00917, allocations: 7.938 kB / 0.5231 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009171, allocations: 0.9062 kB / 0.5231 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.009545, allocations: 160.8 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.009553, allocations: 0 / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.009567, allocations: 0 / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.009681, allocations: 13.42 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.009739, allocations: 11.94 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.009743, allocations: 0 / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.009816, allocations: 83.27 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.009816, allocations: 0.6562 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003629/0.01018, allocations: 4 kB / 0.5234 GB, free: 14.46 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): 2 * 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.0001237/0.0103, allocations: 92.44 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.01054, allocations: 33.44 kB / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01054, allocations: 0 / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.01064, allocations: 26.41 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.01093, allocations: 4 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.01127, allocations: 120.5 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.01134, allocations: 66.12 kB / 0.5237 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.01137, allocations: 3.938 kB / 0.5237 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.0114, allocations: 12.5 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/0.0114, allocations: 4 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.00373/0.01513, allocations: 481.6 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.035484411986545]