Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001194/0.001194, allocations: 93.06 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.001445/0.001445, allocations: 169 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.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7497/0.7497, allocations: 154.9 MB / 414.8 MB, free: 420 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.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.284e-05, allocations: 4.609 kB / 0.5207 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001636/0.001669, allocations: 0.8608 MB / 0.5215 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003409, allocations: 1.347 MB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.003482, allocations: 7.938 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.00361, allocations: 16.95 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.003687, allocations: 31.72 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006702/0.004357, allocations: 259.4 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.004693, allocations: 337.7 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.00483, allocations: 37.64 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.005047, allocations: 199.7 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.005187, allocations: 81.39 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.005227, allocations: 24 kB / 0.5238 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.005319, allocations: 35.98 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.005382, allocations: 47.83 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.182e-05/0.005464, allocations: 75.83 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.005731, allocations: 227.8 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.005733, allocations: 0.9688 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005734, allocations: 0 / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.00574, allocations: 0 / 0.5242 GB, free: 14.29 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000684/0.006424, allocations: 0.5665 MB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.006471, allocations: 12.02 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/0.006762, allocations: 73.45 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.007026, allocations: 212.1 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.007057, allocations: 17.41 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.007083, allocations: 16.38 kB / 0.525 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.007286, allocations: 151.1 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.007297, allocations: 192 / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.007312, allocations: 8.375 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.00732, allocations: 384 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.007387, allocations: 43.84 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.007995, allocations: 0.8254 MB / 0.526 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.008086, allocations: 70.8 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.008112, allocations: 24.7 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.00812, allocations: 0 / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.008272, allocations: 113.5 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.008274, allocations: 0 / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002247/0.008498, allocations: 117.4 kB / 0.5263 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.008538, allocations: 85.83 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.008694, allocations: 259.4 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.008717, allocations: 30.55 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.13e-05/0.008808, allocations: 191 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.008823, allocations: 15.89 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.008903, allocations: 81.92 kB / 0.527 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.009021, allocations: 0.4962 MB / 0.5275 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.009139, allocations: 111.4 kB / 0.5276 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.009283, allocations: 263.6 kB / 0.5278 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.009431, allocations: 198.9 kB / 0.528 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009434, allocations: 0 / 0.528 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003111/0.009745, allocations: 345.7 kB / 0.5283 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.00979, allocations: 75.33 kB / 0.5284 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.009796, allocations: 0.9375 kB / 0.5284 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.009813, allocations: 4 kB / 0.5284 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.009872, allocations: 15.98 kB / 0.5284 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.009879, allocations: 4.562 kB / 0.5284 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.01005, allocations: 47.02 kB / 0.5285 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.01007, allocations: 15.98 kB / 0.5285 GB, free: 9.422 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001052/0.01017, allocations: 168.6 kB / 0.5286 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.0102, allocations: 19.89 kB / 0.5287 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.01024, allocations: 23.41 kB / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01024, allocations: 0 / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.01025, allocations: 0 / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01025, allocations: 0 / 0.5287 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.01039, allocations: 180.5 kB / 0.5289 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01039, allocations: 0 / 0.5289 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.01041, allocations: 7.938 kB / 0.5289 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01041, allocations: 1.156 kB / 0.5289 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01042, allocations: 3.984 kB / 0.5289 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.01043, allocations: 11.94 kB / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01043, allocations: 0.875 kB / 0.5289 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.01057, allocations: 140 kB / 0.529 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.01058, allocations: 11.91 kB / 0.529 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.0106, allocations: 1.156 kB / 0.529 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.426e-05/0.01062, allocations: 15.92 kB / 0.529 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.01065, allocations: 0 / 0.529 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01066, allocations: 8.531 kB / 0.5291 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.097e-05/0.01074, allocations: 184.1 kB / 0.5292 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01074, allocations: 4 kB / 0.5292 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001883/0.01093, allocations: 43.88 kB / 0.5293 GB, free: 8.547 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001382/0.01107, allocations: 103.2 kB / 0.5294 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.01134, allocations: 297.3 kB / 0.5297 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01134, allocations: 0 / 0.5297 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.01138, allocations: 35.61 kB / 0.5297 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.0116, allocations: 38.62 kB / 0.5297 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.012, allocations: 306.8 kB / 0.53 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.228e-05/0.01205, allocations: 71.98 kB / 0.5301 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.01209, allocations: 23.25 kB / 0.5301 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.01212, allocations: 17.28 kB / 0.5301 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.01212, allocations: 0 / 0.5301 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of Templates: time 0.004905/0.01703, allocations: 2.832 MB / 0.5329 GB, free: 4.93 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9637725558131933]