Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001084/0.001084, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00112/0.00112, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7924/0.7924, allocations: 154.9 MB / 415.9 MB, free: 256 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.5219 GB, free: 1.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.813e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001407/0.001435, allocations: 0.6064 MB / 0.5225 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.002298, allocations: 0.8608 MB / 0.5234 GB, free: 20 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.002336, allocations: 0 / 0.5234 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002361, allocations: 2 kB / 0.5234 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.002424, allocations: 1.531 kB / 0.5234 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.002611, allocations: 24.14 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.002673, allocations: 20.56 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.002722, allocations: 5.266 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.002866, allocations: 12 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.002913, allocations: 7.984 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.002926, allocations: 0.5 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.002972, allocations: 7.906 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.002985, allocations: 9.031 kB / 0.5235 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.003, allocations: 4 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.409e-05/0.003094, allocations: 11.98 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003097, allocations: 0.5625 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003097, allocations: 2.031 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003102, allocations: 0 / 0.5235 GB, free: 15.92 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000339/0.003441, allocations: 356.6 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.00348, allocations: 8.031 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.003598, allocations: 16.86 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.003679, allocations: 110 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00369, allocations: 4.375 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.003697, allocations: 4.375 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.218e-05/0.003769, allocations: 44.42 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.003777, allocations: 4.188 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.003782, allocations: 384 / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.003786, allocations: 384 / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.327e-05/0.0038, allocations: 8.891 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.6e-05/0.003896, allocations: 97.25 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.003933, allocations: 31.91 kB / 0.5241 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.003945, allocations: 11.78 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.003955, allocations: 0.5 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.003973, allocations: 33.39 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.003974, allocations: 1.031 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001042/0.004078, allocations: 37.66 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.004111, allocations: 60.47 kB / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/0.004175, allocations: 161.9 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.004183, allocations: 25.7 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.004216, allocations: 127.5 kB / 0.5246 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.004237, allocations: 5.531 kB / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.004263, allocations: 19.36 kB / 0.5246 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.004388, allocations: 0.4883 MB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.004401, allocations: 4 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.004408, allocations: 1.812 kB / 0.5251 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.004433, allocations: 11.69 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.004435, allocations: 4 kB / 0.5251 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.134e-05/0.004487, allocations: 39.38 kB / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.004497, allocations: 4 kB / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004502, allocations: 0 / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.00451, allocations: 0 / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.004566, allocations: 4.25 kB / 0.5251 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.004568, allocations: 0.75 kB / 0.5251 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.004582, allocations: 8 kB / 0.5251 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.004587, allocations: 4.969 kB / 0.5251 GB, free: 14.02 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 (1): * Single equations (assignments): 1 * 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.848e-05/0.004646, allocations: 152.6 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.004653, allocations: 8.875 kB / 0.5253 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.00467, allocations: 7.156 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004672, allocations: 3.25 kB / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.004673, allocations: 0 / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.004676, allocations: 0 / 0.5253 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.369e-05/0.004739, allocations: 97.2 kB / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00474, allocations: 0 / 0.5254 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.004757, allocations: 7.984 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.004759, allocations: 4 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.004762, allocations: 0 / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004763, allocations: 3.938 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004764, allocations: 3.031 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.652e-05/0.00483, allocations: 72.33 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-06/0.004837, allocations: 3.984 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-06/0.004844, allocations: 0 / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-06/0.004853, allocations: 4 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.004874, allocations: 0 / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.004876, allocations: 0 / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.004912, allocations: 127.2 kB / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004912, allocations: 1.5 kB / 0.5256 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001089/0.005021, allocations: 4 kB / 0.5256 GB, free: 13.48 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 (1): * Single equations (assignments): 1 * 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.476e-05/0.005106, allocations: 92.81 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.00517, allocations: 15.69 kB / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.005172, allocations: 0 / 0.5257 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.005186, allocations: 12.91 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.005291, allocations: 7.938 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.005621, allocations: 127.5 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.733e-05/0.005648, allocations: 51.36 kB / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.768e-05/0.005666, allocations: 4.5 kB / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.005705, allocations: 72.58 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.005705, allocations: 0 / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.001727/0.007432, allocations: 326.8 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.848112601786852]