Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0007282/0.0007282, allocations: 76.45 kB / 19.9 MB, free: 12 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.0007951/0.0007951, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9163/0.9163, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7321/0.7321, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008872/0.0008872, allocations: 67.89 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5305/0.5313, allocations: 101.9 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001789/0.5331, allocations: 0.5852 MB / 0.7196 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.5345, allocations: 1.135 MB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.5345, allocations: 0 / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.5346, allocations: 5.094 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.358e-05/0.5346, allocations: 6.109 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.5351, allocations: 126 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.5353, allocations: 97.97 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.5354, allocations: 3.531 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.5355, allocations: 42.22 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.5356, allocations: 31.06 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.5357, allocations: 10.73 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.843e-05/0.5357, allocations: 17.06 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.5357, allocations: 6.641 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.5358, allocations: 25.98 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.536, allocations: 81.41 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.536, allocations: 4 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.536, allocations: 5.547 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.536, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 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.0003703/0.5364, allocations: 299.1 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5364, allocations: 10.36 kB / 0.7215 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.5364, allocations: 9.453 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.5365, allocations: 105.4 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.5365, allocations: 12.02 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5366, allocations: 4.5 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.5366, allocations: 61.52 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5367, allocations: 8.172 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5367, allocations: 3.938 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5367, allocations: 1.25 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.5367, allocations: 8.688 kB / 0.7217 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.537, allocations: 221.5 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.645e-05/0.537, allocations: 19.14 kB / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.5371, allocations: 7.938 kB / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.5371, allocations: 3.938 kB / 0.7219 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.5372, allocations: 89.16 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.5372, allocations: 4 kB / 0.722 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000188/0.5374, allocations: 68.55 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5375, allocations: 53.16 kB / 0.7221 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.5375, allocations: 109.7 kB / 0.7222 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.5375, allocations: 28.36 kB / 0.7223 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.5376, allocations: 83.22 kB / 0.7224 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.5376, allocations: 5.766 kB / 0.7224 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.5376, allocations: 30.42 kB / 0.7224 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.5377, allocations: 317.9 kB / 0.7227 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.5377, allocations: 59.86 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.5378, allocations: 77.45 kB / 0.7228 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.409e-05/0.5379, allocations: 84.27 kB / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5379, allocations: 320 / 0.7229 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001887/0.5381, allocations: 180.5 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.5381, allocations: 34.39 kB / 0.7231 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5381, allocations: 5.219 kB / 0.7231 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.5381, allocations: 5.219 kB / 0.7231 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.911e-05/0.5381, allocations: 1.984 kB / 0.7231 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5381, allocations: 4.969 kB / 0.7231 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.5383, allocations: 40.44 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.5383, allocations: 7.156 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 5.386e-05/0.5384, allocations: 112.8 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.5384, allocations: 5.094 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.5384, allocations: 10.36 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5384, allocations: 1.094 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5384, allocations: 0 / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.5384, allocations: 1.953 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.104e-05/0.5385, allocations: 109.2 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5385, allocations: 1.156 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-06/0.5385, allocations: 4.781 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5385, allocations: 5.031 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5385, allocations: 1.156 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5385, allocations: 0.6094 kB / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5385, allocations: 240 / 0.7234 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.5387, allocations: 89.91 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.5387, allocations: 6.938 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.5387, allocations: 1 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/0.5387, allocations: 0.5156 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.5387, allocations: 7.969 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.5387, allocations: 1.938 kB / 0.7235 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.5388, allocations: 85.03 kB / 0.7236 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5388, allocations: 0 / 0.7236 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001725/0.5389, allocations: 15.95 kB / 0.7236 GB, free: 19.97 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001407/0.5391, allocations: 96.73 kB / 0.7237 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.5393, allocations: 140.8 kB / 0.7238 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5393, allocations: 1.312 kB / 0.7238 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.5393, allocations: 10.61 kB / 0.7238 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.5395, allocations: 15.59 kB / 0.7239 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.5398, allocations: 121.9 kB / 0.724 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.5398, allocations: 62.16 kB / 0.724 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.229e-05/0.5398, allocations: 6.828 kB / 0.724 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.5398, allocations: 9.625 kB / 0.7241 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/0.5398, allocations: 1.156 kB / 0.7241 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of Templates: time 0.00364/0.5435, allocations: 1.188 MB / 0.7252 GB, free: 19.41 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.393237053067423] Failed to read output from testmodel.py, exit status != 0: 0.548958754981868 0.5617443440000001 0.023736203 Calling exit ...