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.0008174/0.0008174, allocations: 76.45 kB / 19.9 MB, free: 20 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.0008189/0.0008189, allocations: 177.8 kB / 23.19 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.8938/0.8938, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7253/0.7253, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.001002/0.001002, allocations: 76.94 kB / 0.6196 GB, free: 11.98 MB / 0.5417 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.5275/0.5285, allocations: 102 MB / 0.7192 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001439/0.53, allocations: 0.6807 MB / 0.7198 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.5307, allocations: 0.8939 MB / 0.7207 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.5308, allocations: 0 / 0.7207 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.5308, allocations: 7.938 kB / 0.7207 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.5309, allocations: 3.938 kB / 0.7207 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.531, allocations: 27.28 kB / 0.7207 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.5311, allocations: 39.92 kB / 0.7208 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.5312, allocations: 11.98 kB / 0.7208 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5313, allocations: 23.92 kB / 0.7208 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.5314, allocations: 23.91 kB / 0.7208 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.5314, allocations: 4 kB / 0.7208 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.5314, allocations: 4 kB / 0.7209 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.5314, allocations: 15.92 kB / 0.7209 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.5315, allocations: 11.94 kB / 0.7209 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.5316, allocations: 35.88 kB / 0.7209 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5316, allocations: 0 / 0.7209 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5316, allocations: 0 / 0.7209 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5316, allocations: 0 / 0.7209 GB, free: 11.91 MB / 0.6042 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.0004228/0.532, allocations: 293.4 kB / 0.7212 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.532, allocations: 11.97 kB / 0.7212 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.5321, allocations: 8.891 kB / 0.7212 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.11e-05/0.5322, allocations: 110.5 kB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5322, allocations: 4.375 kB / 0.7213 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.5322, allocations: 4.375 kB / 0.7213 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.5324, allocations: 74.2 kB / 0.7214 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5324, allocations: 192 / 0.7214 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5324, allocations: 7.922 kB / 0.7214 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5324, allocations: 0 / 0.7214 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.5325, allocations: 63.94 kB / 0.7215 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.5329, allocations: 224.5 kB / 0.7217 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.533, allocations: 46.55 kB / 0.7217 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.203e-05/0.5331, allocations: 48.78 kB / 0.7218 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.5331, allocations: 0 / 0.7218 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.5331, allocations: 30.56 kB / 0.7218 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.5331, allocations: 4 kB / 0.7218 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.000324/0.5334, allocations: 133.5 kB / 0.7219 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.5335, allocations: 55.41 kB / 0.722 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.5335, allocations: 105.8 kB / 0.7221 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.5335, allocations: 25.7 kB / 0.7221 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.5336, allocations: 92.08 kB / 0.7222 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.5336, allocations: 11.91 kB / 0.7222 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.5336, allocations: 17.72 kB / 0.7222 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.5337, allocations: 314.8 kB / 0.7225 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.5338, allocations: 27.97 kB / 0.7226 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.5339, allocations: 35.95 kB / 0.7226 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.534, allocations: 68.8 kB / 0.7227 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.534, allocations: 0 / 0.7227 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001632/0.5342, allocations: 105.5 kB / 0.7228 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5342, allocations: 4 kB / 0.7228 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5342, allocations: 0 / 0.7228 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5342, allocations: 0 / 0.7228 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.5343, allocations: 19.98 kB / 0.7228 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.5343, allocations: 0 / 0.7228 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.5343, allocations: 11.98 kB / 0.7228 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.5343, allocations: 0 / 0.7228 GB, free: 9.82 MB / 0.6042 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 5.726e-05/0.5344, allocations: 118.8 kB / 0.7229 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.5344, allocations: 7.891 kB / 0.7229 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.5344, allocations: 8 kB / 0.7229 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.5344, allocations: 4 kB / 0.7229 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5344, allocations: 4 kB / 0.7229 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5344, allocations: 0 / 0.7229 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.199e-05/0.5345, allocations: 109.3 kB / 0.723 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5345, allocations: 0 / 0.723 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.5346, allocations: 19.86 kB / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5346, allocations: 336 / 0.723 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.5346, allocations: 7.984 kB / 0.7231 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.5346, allocations: 0 / 0.7231 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5346, allocations: 3.938 kB / 0.7231 GB, free: 9.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.5348, allocations: 199.4 kB / 0.7232 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.5348, allocations: 7.938 kB / 0.7233 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.5348, allocations: 4 kB / 0.7233 GB, free: 9.277 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.165e-05/0.5348, allocations: 19.91 kB / 0.7233 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.5349, allocations: 0 / 0.7233 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5349, allocations: 4 kB / 0.7233 GB, free: 9.254 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.171e-05/0.5349, allocations: 87.27 kB / 0.7234 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.5349, allocations: 0 / 0.7234 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001382/0.5351, allocations: 16 kB / 0.7234 GB, free: 9.152 MB / 0.6042 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.000107/0.5352, allocations: 91.25 kB / 0.7235 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.5354, allocations: 67.86 kB / 0.7235 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5354, allocations: 0 / 0.7235 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.5354, allocations: 43.95 kB / 0.7236 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5356, allocations: 4 kB / 0.7236 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.5359, allocations: 125.4 kB / 0.7237 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.978e-05/0.536, allocations: 71.33 kB / 0.7238 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.536, allocations: 0 / 0.7238 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.536, allocations: 8.5 kB / 0.7238 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.536, allocations: 7.938 kB / 0.7238 GB, free: 8.684 MB / 0.6042 GB Notification: Performance of Templates: time 0.002187/0.5382, allocations: 0.7846 MB / 0.7245 GB, free: 7.926 MB / 0.6042 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.231326474109665] Failed to read output from testmodel.py, exit status != 0: 0.5441551329568028 0.5528610629999999 0.019587945000000002 Calling exit ...