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.0008015/0.0008015, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008047/0.0008047, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8369/0.8369, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.691/0.691, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.059e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001916/0.001946, allocations: 0.6833 MB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003133, allocations: 0.8938 MB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.00318, allocations: 0 / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.003213, allocations: 7.922 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.003281, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.003481, allocations: 31.91 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.003582, allocations: 39.86 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003695, allocations: 11.98 kB / 0.621 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.003786, allocations: 23.92 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.003834, allocations: 15.97 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.003865, allocations: 4 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.003876, allocations: 4 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.003897, allocations: 11.92 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.003923, allocations: 11.94 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004036, allocations: 47.8 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004038, allocations: 0 / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004039, allocations: 4 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.004042, allocations: 0 / 0.6211 GB, free: 11.3 MB / 0.5886 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.0004743/0.004517, allocations: 278.3 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.004556, allocations: 12.03 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.004595, allocations: 8.875 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.004703, allocations: 121.7 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.004717, allocations: 384 / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.00473, allocations: 4.375 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.004966, allocations: 70.22 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.004975, allocations: 192 / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.004987, allocations: 384 / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004993, allocations: 4.375 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.005226, allocations: 63.86 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.005579, allocations: 212.5 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.00576, allocations: 58.52 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.005883, allocations: 40.92 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.005906, allocations: 3.984 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.005936, allocations: 30.56 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.005937, allocations: 0 / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.000452/0.006389, allocations: 133.5 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.006426, allocations: 55.41 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.006512, allocations: 105.8 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.006527, allocations: 25.7 kB / 0.6223 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.006577, allocations: 96.08 kB / 0.6224 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.006598, allocations: 3.953 kB / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.006639, allocations: 17.72 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.006742, allocations: 314.8 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.006859, allocations: 39.95 kB / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.006967, allocations: 27.97 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.007188, allocations: 68.78 kB / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007189, allocations: 0 / 0.6229 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002666/0.007456, allocations: 101.6 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.007473, allocations: 11.88 kB / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007478, allocations: 0 / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.007493, allocations: 3.984 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.007606, allocations: 19.98 kB / 0.623 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007611, allocations: 0 / 0.623 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.007678, allocations: 23.94 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.007685, allocations: 0 / 0.623 GB, free: 9.207 MB / 0.5886 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 7.23e-05/0.007758, allocations: 114.8 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.007783, allocations: 0 / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.007886, allocations: 19.92 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.007893, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.0079, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.007906, allocations: 0 / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.008111, allocations: 109.3 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.008114, allocations: 0 / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.008265, allocations: 15.98 kB / 0.6233 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.008272, allocations: 4 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.008281, allocations: 0 / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.008287, allocations: 7.875 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.008289, allocations: 0 / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.008647, allocations: 195.4 kB / 0.6235 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.008656, allocations: 8.312 kB / 0.6235 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.008667, allocations: 4 kB / 0.6235 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.008755, allocations: 15.92 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.008797, allocations: 7.984 kB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.008804, allocations: 7.984 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.00884, allocations: 83.27 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00884, allocations: 0 / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001473/0.008987, allocations: 12 kB / 0.6236 GB, free: 8.555 MB / 0.5886 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.0001031/0.00909, allocations: 91.25 kB / 0.6237 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.009286, allocations: 75.86 kB / 0.6238 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009288, allocations: 0 / 0.6238 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.009359, allocations: 31.97 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.00959, allocations: 12.38 kB / 0.6238 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.009864, allocations: 150.6 kB / 0.6239 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.288e-05/0.009907, allocations: 67.28 kB / 0.624 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.009938, allocations: 12.5 kB / 0.624 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/0.009938, allocations: 0 / 0.624 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.001437/0.01137, allocations: 0.7673 MB / 0.6248 GB, free: 7.301 MB / 0.5886 GB " [Timeout remaining time 660] 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.7024615397676826] Failed to read output from testmodel.py, exit status != 0: 0.017511216923594475 0.024307707 0.018607762 Calling exit ...