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.001306/0.001306, allocations: 82.56 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001423/0.001423, allocations: 169.1 kB / 22.44 MB, free: 5.348 MB / 14.72 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 1.389/1.389, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.213/1.213, allocations: 155 MB / 414.2 MB, free: 4.949 MB / 382.1 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 178] 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.002041/0.002041, allocations: 71.55 kB / 0.6192 GB, free: 4.094 MB / 0.5294 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.5916/0.5937, allocations: 102 MB / 0.7188 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00184/0.5955, allocations: 0.6904 MB / 0.7195 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008669/0.5964, allocations: 0.8954 MB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.5964, allocations: 1.531 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.5964, allocations: 3.938 kB / 0.7203 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.5965, allocations: 5.656 kB / 0.7204 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.5967, allocations: 16.7 kB / 0.7204 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.5968, allocations: 47.03 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.5969, allocations: 5.938 kB / 0.7204 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.597, allocations: 33.12 kB / 0.7204 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.597, allocations: 22.38 kB / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.597, allocations: 2.5 kB / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.597, allocations: 4.375 kB / 0.7205 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.597, allocations: 11.38 kB / 0.7205 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.5971, allocations: 16.3 kB / 0.7205 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.5972, allocations: 48.48 kB / 0.7206 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5972, allocations: 1.594 kB / 0.7206 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5972, allocations: 0 / 0.7206 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.892e-06/0.5972, allocations: 0 / 0.7206 GB, free: 0.5625 MB / 0.6075 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.0004387/0.5976, allocations: 293 kB / 0.7208 GB, free: 288 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.5977, allocations: 11.62 kB / 0.7208 GB, free: 288 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.5977, allocations: 8.016 kB / 0.7209 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.07e-05/0.5978, allocations: 109.1 kB / 0.721 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.5978, allocations: 5.594 kB / 0.721 GB, free: 148 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.5978, allocations: 6.969 kB / 0.721 GB, free: 144 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.598, allocations: 68.83 kB / 0.721 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.598, allocations: 192 / 0.721 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.598, allocations: 3.938 kB / 0.721 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.598, allocations: 6.172 kB / 0.721 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.5983, allocations: 61.88 kB / 0.7211 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.5987, allocations: 207.1 kB / 0.7213 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.5989, allocations: 54.77 kB / 0.7214 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.599, allocations: 52.11 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.5991, allocations: 1.75 kB / 0.7214 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5991, allocations: 32.3 kB / 0.7214 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5991, allocations: 0 / 0.7214 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0005673/0.5997, allocations: 124.3 kB / 0.7216 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.5997, allocations: 61.52 kB / 0.7216 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.5998, allocations: 107.7 kB / 0.7217 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5998, allocations: 29.64 kB / 0.7217 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.5999, allocations: 92.05 kB / 0.7218 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.5999, allocations: 9.672 kB / 0.7218 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.6, allocations: 17.81 kB / 0.7219 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6001, allocations: 313.9 kB / 0.7222 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.6003, allocations: 31.5 kB / 0.7222 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.6004, allocations: 36.03 kB / 0.7222 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.6007, allocations: 65.67 kB / 0.7223 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6007, allocations: 0 / 0.7223 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003457/0.601, allocations: 106.7 kB / 0.7224 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6011, allocations: 5.281 kB / 0.7224 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6011, allocations: 1.125 kB / 0.7224 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6011, allocations: 0 / 0.7224 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.6012, allocations: 19.73 kB / 0.7224 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.6012, allocations: 1.156 kB / 0.7224 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.6013, allocations: 15.67 kB / 0.7224 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.6013, allocations: 5.062 kB / 0.7224 GB, free: 15.01 MB / 0.6231 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 9.791e-05/0.6014, allocations: 109.8 kB / 0.7225 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.6014, allocations: 14.88 kB / 0.7225 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.6015, allocations: 10.14 kB / 0.7226 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6015, allocations: 0 / 0.7226 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6015, allocations: 0.9375 kB / 0.7226 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.6015, allocations: 0.5625 kB / 0.7226 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.6016, allocations: 108.7 kB / 0.7227 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6016, allocations: 0 / 0.7227 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.6017, allocations: 19.86 kB / 0.7227 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6017, allocations: 1.219 kB / 0.7227 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6018, allocations: 0 / 0.7227 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6018, allocations: 6.172 kB / 0.7227 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6018, allocations: 0 / 0.7227 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.6022, allocations: 196 kB / 0.7229 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.6022, allocations: 9.422 kB / 0.7229 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6022, allocations: 0.7031 kB / 0.7229 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6023, allocations: 12.89 kB / 0.7229 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.6024, allocations: 12.52 kB / 0.7229 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.6024, allocations: 1.312 kB / 0.7229 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.6024, allocations: 95.5 kB / 0.723 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6024, allocations: 0 / 0.723 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002131/0.6026, allocations: 6.812 kB / 0.723 GB, free: 14.49 MB / 0.6231 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.0001408/0.6028, allocations: 92.88 kB / 0.7231 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.6032, allocations: 79.33 kB / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6032, allocations: 0 / 0.7232 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.6033, allocations: 35.55 kB / 0.7232 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.6036, allocations: 10 kB / 0.7232 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.604, allocations: 126.7 kB / 0.7233 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.604, allocations: 64.12 kB / 0.7234 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.6041, allocations: 7.172 kB / 0.7234 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.6041, allocations: 10.25 kB / 0.7234 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.6041, allocations: 0 / 0.7234 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.003516/0.6076, allocations: 0.789 MB / 0.7242 GB, free: 14.07 MB / 0.6231 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.132019490003586] Failed to read output from testmodel.py, exit status != 0: 0.6165816430002451 0.632686514 0.03233537 Calling exit ...