Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009028/0.0009028, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008729/0.0008729, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9232/0.9232, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7387/0.7387, allocations: 154.9 MB / 414.9 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.001015/0.001015, allocations: 72.69 kB / 0.6198 GB, free: 12.84 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5344/0.5354, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001468/0.5369, allocations: 0.5673 MB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.5381, allocations: 1.139 MB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.5381, allocations: 1.062 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.5381, allocations: 0 / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.5382, allocations: 10.22 kB / 0.7211 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.5386, allocations: 122.6 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.5388, allocations: 89 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.5389, allocations: 7.797 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.539, allocations: 46.95 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.5391, allocations: 30.3 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.5391, allocations: 7.438 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.5392, allocations: 20.42 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.5392, allocations: 6.859 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.5393, allocations: 31.53 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.5395, allocations: 81.03 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.5395, allocations: 0 / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5395, allocations: 0 / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5395, allocations: 5.156 kB / 0.7215 GB, free: 22.09 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.0004158/0.5399, allocations: 298.8 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5399, allocations: 11.78 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.54, allocations: 13.12 kB / 0.7218 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.488e-05/0.54, allocations: 105.5 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5401, allocations: 3.312 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.5401, allocations: 10.03 kB / 0.7219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.236e-05/0.5402, allocations: 61.09 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5402, allocations: 8.109 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5402, allocations: 3.938 kB / 0.722 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.5402, allocations: 5.547 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.5402, allocations: 7.984 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.5405, allocations: 215.3 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.5406, allocations: 21.66 kB / 0.7222 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.5406, allocations: 7.688 kB / 0.7223 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.5406, allocations: 5.031 kB / 0.7223 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5407, allocations: 87.98 kB / 0.7223 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5407, allocations: 0 / 0.7223 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002008/0.5409, allocations: 69.69 kB / 0.7224 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.541, allocations: 53.28 kB / 0.7225 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.788e-05/0.541, allocations: 113 kB / 0.7226 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.541, allocations: 31.33 kB / 0.7226 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.5411, allocations: 92.11 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.5411, allocations: 5.609 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.5411, allocations: 30.05 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.399e-05/0.5412, allocations: 317.2 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.5412, allocations: 60.89 kB / 0.7231 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.5413, allocations: 77.19 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/0.5414, allocations: 76.8 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5414, allocations: 7.938 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001904/0.5416, allocations: 180.2 kB / 0.7234 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.5416, allocations: 35.66 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.5416, allocations: 0 / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5416, allocations: 1.375 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-05/0.5416, allocations: 1.719 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5416, allocations: 5.109 kB / 0.7234 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.5418, allocations: 32.59 kB / 0.7235 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.5418, allocations: 15 kB / 0.7235 GB, free: 20.19 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.385e-05/0.5419, allocations: 112 kB / 0.7236 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.5419, allocations: 6.703 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.5419, allocations: 9.734 kB / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5419, allocations: 0.8438 kB / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5419, allocations: 1.281 kB / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5419, allocations: 0 / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.519e-05/0.542, allocations: 105.7 kB / 0.7237 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.542, allocations: 4.969 kB / 0.7237 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.542, allocations: 4.547 kB / 0.7237 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.542, allocations: 5.562 kB / 0.7237 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.542, allocations: 0.6562 kB / 0.7237 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.542, allocations: 1.344 kB / 0.7237 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.542, allocations: 4.547 kB / 0.7237 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.732e-05/0.5421, allocations: 86.23 kB / 0.7238 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.5421, allocations: 5.688 kB / 0.7238 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.5421, allocations: 2.188 kB / 0.7238 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.5421, allocations: 4.25 kB / 0.7238 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.5421, allocations: 2.844 kB / 0.7238 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.5421, allocations: 6.922 kB / 0.7238 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.5422, allocations: 89.39 kB / 0.7239 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5422, allocations: 0 / 0.7239 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001507/0.5423, allocations: 15.8 kB / 0.7239 GB, free: 19.75 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.0001188/0.5424, allocations: 96.72 kB / 0.724 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.5426, allocations: 141 kB / 0.7242 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5426, allocations: 0 / 0.7242 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.5426, allocations: 8.047 kB / 0.7242 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.5428, allocations: 13.88 kB / 0.7242 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.543, allocations: 129.3 kB / 0.7243 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.5431, allocations: 61.88 kB / 0.7244 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.5431, allocations: 3.438 kB / 0.7244 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.5431, allocations: 9.875 kB / 0.7244 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of SimCode: time 2.9e-07/0.5431, allocations: 1.312 kB / 0.7244 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.003135/0.5462, allocations: 1.178 MB / 0.7255 GB, free: 19.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2946369260316715] Failed to read output from testmodel.py, exit status != 0: 0.5537856209557503 0.563768128 0.02230499299999994 Calling exit ...