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.0007261/0.0007261, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007416/0.0007416, allocations: 211.1 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8663/0.8663, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.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.7174/0.7174, allocations: 203.8 MB / 0.5049 GB, free: 0.6758 MB / 410.7 MB " [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: 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.0009217/0.0009217, allocations: 67.89 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5032/0.5041, allocations: 102 MB / 0.8191 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001514/0.5056, allocations: 0.5963 MB / 0.8197 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.5066, allocations: 0.8457 MB / 0.8205 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.5066, allocations: 2.531 kB / 0.8205 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.5066, allocations: 3.938 kB / 0.8205 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.5067, allocations: 9.844 kB / 0.8205 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.5069, allocations: 13.31 kB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.5069, allocations: 17.5 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.507, allocations: 3.109 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.5071, allocations: 21.86 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.5072, allocations: 8.906 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.5072, allocations: 2.062 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.633e-05/0.5072, allocations: 7.922 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.5073, allocations: 6.312 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.5073, allocations: 10.61 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.5074, allocations: 17.94 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5074, allocations: 0 / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5074, allocations: 0.75 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.5074, allocations: 1.125 kB / 0.8207 GB, free: 24.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002707/0.5077, allocations: 252 kB / 0.8209 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5077, allocations: 10.88 kB / 0.8209 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.5078, allocations: 15.81 kB / 0.8209 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.347e-05/0.5079, allocations: 114.5 kB / 0.821 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5079, allocations: 5.438 kB / 0.821 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5079, allocations: 1.344 kB / 0.821 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.74e-05/0.508, allocations: 40.36 kB / 0.8211 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.508, allocations: 4.688 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.508, allocations: 3.938 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.508, allocations: 1.75 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.5081, allocations: 12.11 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.5082, allocations: 124.7 kB / 0.8212 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.247e-05/0.5082, allocations: 25.97 kB / 0.8212 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.5083, allocations: 12.69 kB / 0.8212 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.5083, allocations: 0.9688 kB / 0.8212 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.5083, allocations: 32.66 kB / 0.8213 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.5083, allocations: 7.594 kB / 0.8213 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.5084, allocations: 55.84 kB / 0.8213 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.5085, allocations: 52.5 kB / 0.8214 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.381e-05/0.5085, allocations: 102.2 kB / 0.8215 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-06/0.5085, allocations: 25.7 kB / 0.8215 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.019e-05/0.5085, allocations: 86.77 kB / 0.8216 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.5086, allocations: 8.047 kB / 0.8216 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.5086, allocations: 11.86 kB / 0.8216 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.5086, allocations: 313.3 kB / 0.8219 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.5086, allocations: 9.812 kB / 0.8219 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.5087, allocations: 6.641 kB / 0.8219 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.5087, allocations: 29.23 kB / 0.822 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5087, allocations: 0 / 0.822 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.196e-05/0.5088, allocations: 46.69 kB / 0.822 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.5088, allocations: 5.75 kB / 0.822 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5088, allocations: 4.531 kB / 0.822 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5088, allocations: 0.8438 kB / 0.822 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.5088, allocations: 4.141 kB / 0.822 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.5089, allocations: 4 kB / 0.822 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.5089, allocations: 2.422 kB / 0.822 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.5089, allocations: 0.8125 kB / 0.822 GB, free: 22.74 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 (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 3.739e-05/0.5089, allocations: 112.4 kB / 0.8221 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-06/0.5089, allocations: 1.781 kB / 0.8221 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.5089, allocations: 12.83 kB / 0.8221 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5089, allocations: 4.812 kB / 0.8221 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5089, allocations: 1.172 kB / 0.8222 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.509, allocations: 7.922 kB / 0.8222 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.708e-05/0.509, allocations: 124.6 kB / 0.8223 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.509, allocations: 1.125 kB / 0.8223 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.509, allocations: 8.703 kB / 0.8223 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.509, allocations: 0 / 0.8223 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.509, allocations: 9.562 kB / 0.8223 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.509, allocations: 0 / 0.8223 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.509, allocations: 1.062 kB / 0.8223 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.61e-05/0.5091, allocations: 75.59 kB / 0.8224 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.5091, allocations: 2.016 kB / 0.8224 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.5091, allocations: 5.531 kB / 0.8224 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.244e-05/0.5091, allocations: 2.359 kB / 0.8224 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.5092, allocations: 1.906 kB / 0.8224 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.5092, allocations: 0.5938 kB / 0.8224 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.097e-05/0.5092, allocations: 89.08 kB / 0.8225 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5092, allocations: 0 / 0.8225 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001075/0.5093, allocations: 3 kB / 0.8225 GB, free: 22.27 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 (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 7.865e-05/0.5094, allocations: 92.95 kB / 0.8226 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.178e-05/0.5095, allocations: 22.77 kB / 0.8226 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5095, allocations: 0 / 0.8226 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.5095, allocations: 11.61 kB / 0.8226 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.5096, allocations: 3.5 kB / 0.8226 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.5099, allocations: 135.7 kB / 0.8227 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.733e-05/0.51, allocations: 0.6749 MB / 0.8234 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.51, allocations: 8.906 kB / 0.8234 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of SimCode: time 3.2e-07/0.51, allocations: 0 / 0.8234 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.001746/0.5118, allocations: 469.7 kB / 0.8238 GB, free: 21.3 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.518255406059325] Failed to read output from testmodel.py, exit status != 0: 0.5183760500513017 0.528516867 0.019122249 Calling exit ...