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.0007402/0.0007402, allocations: 76.44 kB / 19.91 MB, free: 12 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.0007544/0.0007544, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8398/0.8398, allocations: 177.2 MB / 203.6 MB, free: 5.762 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: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 0.7033/0.7033, allocations: 155 MB / 414.9 MB, free: 492 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.0008788/0.0008788, allocations: 71.89 kB / 0.62 GB, free: 12.68 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.4464/0.4472, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.0016/0.4488, allocations: 0.685 MB / 0.7202 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.4498, allocations: 0.8964 MB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.4498, allocations: 0 / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.4498, allocations: 4.688 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.4499, allocations: 6.688 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.4501, allocations: 20.47 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.582e-05/0.4502, allocations: 38.83 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4503, allocations: 13.84 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.4504, allocations: 24.7 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.4505, allocations: 22.41 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.4505, allocations: 3.094 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.4505, allocations: 4.312 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.4505, allocations: 10.81 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.4505, allocations: 13.64 kB / 0.7212 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.4507, allocations: 48.39 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4507, allocations: 1 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4507, allocations: 0 / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4507, allocations: 0 / 0.7213 GB, free: 22.29 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.0003781/0.4511, allocations: 296.6 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4511, allocations: 15.28 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.4511, allocations: 6.109 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.438e-05/0.4512, allocations: 115.4 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4512, allocations: 1.531 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.4512, allocations: 2.75 kB / 0.7217 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.4514, allocations: 69 kB / 0.7218 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4514, allocations: 4.188 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4514, allocations: 5 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4514, allocations: 1.094 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.4516, allocations: 62.08 kB / 0.7218 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.4519, allocations: 218.7 kB / 0.722 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.452, allocations: 58.72 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.4521, allocations: 41.5 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4521, allocations: 1 kB / 0.7221 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.4521, allocations: 32.34 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4521, allocations: 0 / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003366/0.4524, allocations: 140.9 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.4525, allocations: 52.62 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.4525, allocations: 107.8 kB / 0.7225 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.4525, allocations: 25.7 kB / 0.7225 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.4526, allocations: 91.25 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.4526, allocations: 10.41 kB / 0.7226 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4526, allocations: 14.27 kB / 0.7226 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.4526, allocations: 316.9 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.4527, allocations: 35.34 kB / 0.7229 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.4528, allocations: 31.86 kB / 0.723 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.4529, allocations: 67.02 kB / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4529, allocations: 0 / 0.723 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000173/0.4531, allocations: 106.3 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4531, allocations: 5.625 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4531, allocations: 0 / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4531, allocations: 1.672 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.4532, allocations: 15.94 kB / 0.7232 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4532, allocations: 0 / 0.7232 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.4533, allocations: 12 kB / 0.7232 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4533, allocations: 5.031 kB / 0.7232 GB, free: 20.73 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.013e-05/0.4533, allocations: 113.7 kB / 0.7233 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.4533, allocations: 10.73 kB / 0.7233 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.4534, allocations: 9.953 kB / 0.7233 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.4534, allocations: 1.344 kB / 0.7233 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4534, allocations: 0 / 0.7233 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4534, allocations: 0.7031 kB / 0.7233 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.669e-05/0.4534, allocations: 109.2 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4534, allocations: 0 / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.4535, allocations: 27.58 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4535, allocations: 4 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4535, allocations: 2.078 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4535, allocations: 0 / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4535, allocations: 1.031 kB / 0.7234 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.4537, allocations: 191.3 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.4537, allocations: 8.984 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.4537, allocations: 1.766 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.4538, allocations: 19.73 kB / 0.7236 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4538, allocations: 5.422 kB / 0.7237 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.4538, allocations: 9.125 kB / 0.7237 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.17e-05/0.4538, allocations: 84.44 kB / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4538, allocations: 0 / 0.7237 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001408/0.454, allocations: 5.625 kB / 0.7237 GB, free: 20.22 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 8.491e-05/0.4541, allocations: 96.91 kB / 0.7238 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.4543, allocations: 78.61 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4543, allocations: 1.094 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.4543, allocations: 33.61 kB / 0.7239 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.4546, allocations: 4.797 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.4548, allocations: 151 kB / 0.7241 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.4549, allocations: 69.27 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.4549, allocations: 10.91 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of SimCode: time 5.92e-07/0.4549, allocations: 0 / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.001789/0.4567, allocations: 0.7798 MB / 0.7249 GB, free: 19.82 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.162631410872564] Failed to read output from testmodel.py, exit status != 0: 0.46223423001356423 0.470329466 0.017931741 Calling exit ...