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.001456/0.001456, allocations: 92.22 kB / 19.65 MB, free: 276 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.00176/0.00176, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.625 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-535:34: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-535:42: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.8136/0.8136, allocations: 154.9 MB / 414.8 MB, free: 396 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: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.5208 GB, free: 1.719 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.51e-05, allocations: 6.766 kB / 0.5208 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001568/0.001603, allocations: 0.6859 MB / 0.5214 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.002629, allocations: 0.9209 MB / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.002675, allocations: 0 / 0.5223 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.002711, allocations: 3.938 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.748e-05/0.002789, allocations: 0.5312 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.00299, allocations: 24.34 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.003087, allocations: 48.86 kB / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.00319, allocations: 3.984 kB / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003293, allocations: 27.92 kB / 0.5224 GB, free: 12 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.003364, allocations: 20.73 kB / 0.5225 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.003393, allocations: 4 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.003403, allocations: 5.156 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.003424, allocations: 11.88 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.003449, allocations: 8 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.675e-05/0.003546, allocations: 24.91 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003549, allocations: 0 / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003549, allocations: 1.531 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003554, allocations: 0 / 0.5225 GB, free: 15.94 MB / 0.4948 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.0004107/0.003965, allocations: 380.5 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.004011, allocations: 12.03 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.004057, allocations: 5.922 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.935e-05/0.004156, allocations: 120.5 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.00417, allocations: 4.375 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.004181, allocations: 1.062 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.004336, allocations: 64.22 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.004346, allocations: 4.172 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.004356, allocations: 4.375 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.004365, allocations: 1.125 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.0044, allocations: 11.94 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.004732, allocations: 264.6 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.004808, allocations: 39 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.004834, allocations: 12.34 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.004852, allocations: 0.8438 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.004874, allocations: 33.39 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.004876, allocations: 2.188 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.005052, allocations: 57.66 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.005084, allocations: 51.41 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.005172, allocations: 165.9 kB / 0.5237 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.005185, allocations: 29.7 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.005239, allocations: 138.8 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.00526, allocations: 12.95 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.005291, allocations: 19.38 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.005417, allocations: 496.1 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.005441, allocations: 9.359 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.005454, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.005497, allocations: 19.69 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.005499, allocations: 3.938 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.485e-05/0.005574, allocations: 51.08 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.00559, allocations: 7.938 kB / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.005596, allocations: 0 / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.005612, allocations: 0 / 0.5244 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.005705, allocations: 12.55 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.005712, allocations: 5.281 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.405e-05/0.005736, allocations: 4 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.005744, allocations: 4.5 kB / 0.5245 GB, free: 13.74 MB / 0.4948 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 6.949e-05/0.005814, allocations: 157.3 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.005829, allocations: 4 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.005863, allocations: 16.55 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005866, allocations: 0.5 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005869, allocations: 0 / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005873, allocations: 2.812 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.00597, allocations: 120.6 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005971, allocations: 0 / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.006009, allocations: 11.98 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006011, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.006018, allocations: 0 / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.006021, allocations: 7.938 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.006024, allocations: 10.36 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.006145, allocations: 196.2 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.006151, allocations: 0 / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.006162, allocations: 4 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.0062, allocations: 7.938 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.006241, allocations: 7.984 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006244, allocations: 1.438 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.006285, allocations: 131.2 kB / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006285, allocations: 0 / 0.5251 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001371/0.006422, allocations: 8 kB / 0.5251 GB, free: 13.01 MB / 0.4948 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.0001002/0.006522, allocations: 96.28 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.499e-05/0.006617, allocations: 24.77 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006619, allocations: 0 / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.006641, allocations: 11.69 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.006848, allocations: 23.12 kB / 0.5253 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.007158, allocations: 130.1 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.007197, allocations: 55.36 kB / 0.5254 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.00722, allocations: 3.984 kB / 0.5255 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.007256, allocations: 15.53 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.007256, allocations: 0 / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.002795/0.01005, allocations: 0.8358 MB / 0.5263 GB, free: 11.8 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7297002859413624]