Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000786/0.000786, 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.0007346/0.0007346, 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.9101/0.9101, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.7011/0.7011, allocations: 154.9 MB / 414.9 MB, free: 496 kB / 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.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001246/0.001246, allocations: 67.91 kB / 0.6199 GB, free: 12.7 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.5091/0.5103, allocations: 102 MB / 0.7195 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001495/0.5118, allocations: 0.6794 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.5126, allocations: 0.8861 MB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.5127, allocations: 0 / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.5127, allocations: 5.797 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.5128, allocations: 10.02 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.5129, allocations: 23.83 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.43e-05/0.513, allocations: 42.67 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.5131, allocations: 9.734 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.5132, allocations: 28.5 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.5133, allocations: 18.61 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.5133, allocations: 3.969 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.5133, allocations: 4.969 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.5133, allocations: 9.766 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.5134, allocations: 13.53 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.5135, allocations: 41.05 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5135, allocations: 0 / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5135, allocations: 0 / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5135, allocations: 1.094 kB / 0.7212 GB, free: 22.27 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.0003685/0.5138, allocations: 298.6 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5139, allocations: 11.61 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.5139, allocations: 6.109 kB / 0.7215 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.806e-05/0.514, allocations: 107.5 kB / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.514, allocations: 1.938 kB / 0.7217 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.514, allocations: 9.75 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.5142, allocations: 66.11 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5142, allocations: 192 / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5142, allocations: 11.92 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5142, allocations: 0.9375 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.5144, allocations: 62.98 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.5147, allocations: 222.4 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.5148, allocations: 51 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.5149, allocations: 45.02 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.5149, allocations: 0.6094 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.5149, allocations: 33.73 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5149, allocations: 0 / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003523/0.5153, allocations: 136 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.5153, allocations: 52.53 kB / 0.7223 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.5153, allocations: 111.2 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.5153, allocations: 26.73 kB / 0.7224 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.5154, allocations: 90.73 kB / 0.7225 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.5154, allocations: 10.95 kB / 0.7225 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.5154, allocations: 17.31 kB / 0.7226 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.5155, allocations: 314.6 kB / 0.7229 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.5155, allocations: 30.55 kB / 0.7229 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.5156, allocations: 36.02 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.5158, allocations: 69.55 kB / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5158, allocations: 1.156 kB / 0.723 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001791/0.5159, allocations: 101.9 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.516, allocations: 5.844 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.516, allocations: 0.7969 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.516, allocations: 5.094 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/0.5161, allocations: 15.48 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5161, allocations: 0 / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.5161, allocations: 12.67 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.5161, allocations: 1.062 kB / 0.7231 GB, free: 20.71 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.367e-05/0.5162, allocations: 117.6 kB / 0.7232 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.5162, allocations: 10.02 kB / 0.7232 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.5162, allocations: 10.77 kB / 0.7233 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5162, allocations: 0 / 0.7233 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5162, allocations: 1.062 kB / 0.7233 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5162, allocations: 0 / 0.7233 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.174e-05/0.5163, allocations: 109.2 kB / 0.7234 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5163, allocations: 0 / 0.7234 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.5164, allocations: 24.16 kB / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.5164, allocations: 0 / 0.7234 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5164, allocations: 10.06 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5164, allocations: 0 / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5164, allocations: 1.094 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.5166, allocations: 195.7 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.5166, allocations: 9.922 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.5166, allocations: 1.219 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.5166, allocations: 15.95 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.5167, allocations: 4.016 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5167, allocations: 9.219 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.5167, allocations: 83.78 kB / 0.7237 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5167, allocations: 0 / 0.7237 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001456/0.5169, allocations: 11.06 kB / 0.7237 GB, free: 20.19 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: 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 0.0001308/0.517, allocations: 97.25 kB / 0.7238 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.5172, allocations: 69.91 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5172, allocations: 0 / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.5173, allocations: 35.84 kB / 0.7239 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.5176, allocations: 5 kB / 0.7239 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.5179, allocations: 128.7 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.518, allocations: 71.78 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.518, allocations: 6.812 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.518, allocations: 10.62 kB / 0.7241 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of SimCode: time 8.32e-07/0.518, allocations: 0 / 0.7241 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of Templates: time 0.002468/0.5205, allocations: 0.783 MB / 0.7249 GB, free: 19.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.306929226964712] Failed to read output from testmodel.py, exit status != 0: 0.5274066000711173 0.537012458 0.021480412 Calling exit ...