Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.0009403/0.0009403, allocations: 80.44 kB / 19.91 MB, free: 4 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.001014/0.001014, allocations: 169.2 kB / 23.19 MB, free: 1.371 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 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.7483/0.7483, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [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.0008618/0.0008618, allocations: 71.05 kB / 0.6196 GB, free: 13.03 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.4958/0.4966, allocations: 101.9 MB / 0.7192 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001591/0.4982, allocations: 0.6865 MB / 0.7198 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.499, allocations: 0.8933 MB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.4991, allocations: 1.062 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.4991, allocations: 0.6562 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.4992, allocations: 10.78 kB / 0.7207 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.4994, allocations: 23.48 kB / 0.7207 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.711e-05/0.4995, allocations: 42.73 kB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4996, allocations: 9.078 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.4997, allocations: 37.36 kB / 0.7208 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.4997, allocations: 23.03 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.4997, allocations: 4.188 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.4998, allocations: 3.312 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.4998, allocations: 10.34 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.4998, allocations: 13.33 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.4999, allocations: 42.53 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4999, allocations: 0 / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4999, allocations: 1.219 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4999, allocations: 0 / 0.7209 GB, free: 22.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000403/0.5003, allocations: 290.9 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5004, allocations: 9.312 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.5004, allocations: 7.094 kB / 0.7212 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.5005, allocations: 112.1 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5005, allocations: 1.406 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.5005, allocations: 1.656 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.5007, allocations: 73.33 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5007, allocations: 192 / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5007, allocations: 12.84 kB / 0.7214 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5007, allocations: 0 / 0.7214 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.5009, allocations: 64.2 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.5012, allocations: 210.5 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5013, allocations: 58.11 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.5014, allocations: 49.38 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.5014, allocations: 3.984 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.5014, allocations: 32.72 kB / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.5014, allocations: 1.406 kB / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003366/0.5017, allocations: 127.6 kB / 0.7219 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.5018, allocations: 52.66 kB / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.5018, allocations: 112.3 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.5018, allocations: 25.7 kB / 0.7221 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.5019, allocations: 91.45 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.5019, allocations: 9.547 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.5019, allocations: 22.5 kB / 0.7222 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.5019, allocations: 313.3 kB / 0.7225 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.502, allocations: 31 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.5021, allocations: 35.48 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.5022, allocations: 67.16 kB / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5022, allocations: 0 / 0.7227 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001778/0.5024, allocations: 102.2 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5024, allocations: 6.672 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.5024, allocations: 0 / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5025, allocations: 0 / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.5025, allocations: 24.14 kB / 0.7228 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5026, allocations: 0.6094 kB / 0.7228 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.939e-05/0.5026, allocations: 16.12 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.5026, allocations: 1.219 kB / 0.7228 GB, free: 20.84 MB / 0.6355 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 4.164e-05/0.5026, allocations: 114.1 kB / 0.7229 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.5027, allocations: 10.19 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.5027, allocations: 9.953 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5027, allocations: 0 / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5027, allocations: 1.672 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.5027, allocations: 1.641 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.5027, allocations: 1.859 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.5028, allocations: 11.14 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.5028, allocations: 8.656 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002192/0.503, allocations: 187.5 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001981/0.5032, allocations: 275 kB / 0.7234 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.405e-05/0.5033, allocations: 38.62 kB / 0.7234 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.5033, allocations: 92.47 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of Backend: time 1.4e-07/0.5033, allocations: 3.938 kB / 0.7235 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.5037, allocations: 109.1 kB / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003594/0.504, allocations: 0.5786 MB / 0.7242 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.002607/0.5066, allocations: 0.9667 MB / 0.7251 GB, free: 19.5 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3843140949029475] Failed to read output from testmodel.py, exit status != 0: 0.5118788459803909 0.521768279 0.019823588 Calling exit ...