Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007198/0.0007198, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007841/0.0007841, allocations: 166.3 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.8757/0.8757, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7031/0.7031, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [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.0009521/0.0009521, allocations: 63.91 kB / 0.6195 GB, free: 12.02 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4155/0.4164, allocations: 102 MB / 0.7191 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001927/0.4183, allocations: 0.8356 MB / 0.7199 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.4198, allocations: 1.318 MB / 0.7212 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.4199, allocations: 7.938 kB / 0.7212 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.42, allocations: 15.8 kB / 0.7212 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.4201, allocations: 31.78 kB / 0.7213 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.4207, allocations: 262.6 kB / 0.7215 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.4211, allocations: 335.4 kB / 0.7218 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.4212, allocations: 41.45 kB / 0.7219 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.4214, allocations: 191.6 kB / 0.7221 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.4216, allocations: 95.69 kB / 0.7221 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.4216, allocations: 32 kB / 0.7222 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.562e-05/0.4217, allocations: 39.98 kB / 0.7222 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.4218, allocations: 47.8 kB / 0.7223 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/0.4219, allocations: 107.5 kB / 0.7224 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.4222, allocations: 406.7 kB / 0.7228 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4222, allocations: 0 / 0.7228 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4222, allocations: 0 / 0.7228 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4222, allocations: 3.938 kB / 0.7228 GB, free: 9.949 MB / 0.6042 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.0006026/0.4228, allocations: 488.7 kB / 0.7232 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4229, allocations: 11.97 kB / 0.7232 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.4232, allocations: 64.77 kB / 0.7233 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.4236, allocations: 230.3 kB / 0.7235 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4236, allocations: 16.31 kB / 0.7235 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.4237, allocations: 28.36 kB / 0.7236 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4239, allocations: 141.6 kB / 0.7237 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4239, allocations: 3.938 kB / 0.7237 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4239, allocations: 4 kB / 0.7237 GB, free: 8.895 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4239, allocations: 4 kB / 0.7237 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.424, allocations: 71.89 kB / 0.7238 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.4245, allocations: 0.6373 MB / 0.7244 GB, free: 8.141 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.256e-05/0.4246, allocations: 53.25 kB / 0.7244 GB, free: 8.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.4247, allocations: 33.7 kB / 0.7245 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.4247, allocations: 7.938 kB / 0.7245 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.4249, allocations: 105 kB / 0.7246 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.4249, allocations: 0 / 0.7246 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002585/0.4251, allocations: 133.5 kB / 0.7247 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4252, allocations: 77.11 kB / 0.7248 GB, free: 7.672 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.4253, allocations: 208.8 kB / 0.725 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4253, allocations: 37.7 kB / 0.725 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.4254, allocations: 148.2 kB / 0.7252 GB, free: 7.266 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.4254, allocations: 15.91 kB / 0.7252 GB, free: 7.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.4255, allocations: 65.67 kB / 0.7252 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.4256, allocations: 322.8 kB / 0.7256 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4257, allocations: 135.4 kB / 0.7257 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4259, allocations: 250.3 kB / 0.7259 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.4263, allocations: 198.2 kB / 0.7261 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4263, allocations: 0 / 0.7261 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003389/0.4266, allocations: 368.1 kB / 0.7265 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.4267, allocations: 63.39 kB / 0.7265 GB, free: 5.719 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4267, allocations: 4 kB / 0.7265 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4267, allocations: 4 kB / 0.7265 GB, free: 5.711 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.4268, allocations: 8 kB / 0.7265 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4268, allocations: 3.938 kB / 0.7265 GB, free: 5.699 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.427, allocations: 67.27 kB / 0.7266 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.427, allocations: 15.98 kB / 0.7266 GB, free: 5.621 MB / 0.6042 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.0001084/0.4271, allocations: 149 kB / 0.7268 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.4271, allocations: 19.84 kB / 0.7268 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.4272, allocations: 17.02 kB / 0.7268 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.4272, allocations: 4 kB / 0.7268 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4272, allocations: 4 kB / 0.7268 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4272, allocations: 0 / 0.7268 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.4273, allocations: 165.2 kB / 0.727 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4273, allocations: 4.406 kB / 0.727 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.4273, allocations: 7.938 kB / 0.727 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4273, allocations: 7.938 kB / 0.727 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4273, allocations: 0 / 0.727 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4273, allocations: 0 / 0.727 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4273, allocations: 0 / 0.727 GB, free: 5.211 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.4275, allocations: 141.8 kB / 0.7271 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.4275, allocations: 19.84 kB / 0.7271 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4275, allocations: 0 / 0.7271 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.4275, allocations: 8 kB / 0.7271 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4275, allocations: 7.984 kB / 0.7271 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.4275, allocations: 4 kB / 0.7272 GB, free: 5.012 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.4276, allocations: 149.4 kB / 0.7273 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4276, allocations: 0 / 0.7273 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002033/0.4278, allocations: 51.88 kB / 0.7273 GB, free: 4.816 MB / 0.6042 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.000132/0.428, allocations: 101.3 kB / 0.7274 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.4283, allocations: 306.1 kB / 0.7277 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4283, allocations: 0 / 0.7277 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.4283, allocations: 31.92 kB / 0.7278 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.4285, allocations: 39.62 kB / 0.7278 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.429, allocations: 334.8 kB / 0.7281 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.246e-05/0.429, allocations: 115.6 kB / 0.7282 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.4291, allocations: 20.5 kB / 0.7283 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.4291, allocations: 0 / 0.7283 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of Templates: time 0.003365/0.4324, allocations: 2.543 MB / 0.7307 GB, free: 1.277 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.801500819157809] Failed to read output from testmodel.py, exit status != 0: 0.43986457004211843 0.45368058699999997 0.028244439000000003 Calling exit ...