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.0007768/0.0007768, 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.0007899/0.0007899, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.8776/0.8776, allocations: 230.6 MB / 256.8 MB, free: 3.438 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.7558/0.7558, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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.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: 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.0008782/0.0008782, allocations: 67.83 kB / 0.7195 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4473, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001499/0.4488, allocations: 0.8679 MB / 0.8199 GB, free: 24.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.4501, allocations: 1.329 MB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.4501, allocations: 10.28 kB / 0.8212 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 6.03e-05/0.4502, allocations: 22.8 kB / 0.8213 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.4502, allocations: 30.38 kB / 0.8213 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.4507, allocations: 268.7 kB / 0.8215 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.4511, allocations: 336.2 kB / 0.8219 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4512, allocations: 45.47 kB / 0.8219 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.4513, allocations: 134.3 kB / 0.822 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.4514, allocations: 110.7 kB / 0.8221 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.4515, allocations: 31.25 kB / 0.8222 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.4516, allocations: 50.19 kB / 0.8222 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.4516, allocations: 50.56 kB / 0.8223 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.858e-05/0.4517, allocations: 117.5 kB / 0.8224 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.452, allocations: 352 kB / 0.8227 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.452, allocations: 0 / 0.8227 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/0.452, allocations: 0 / 0.8227 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.452, allocations: 0 / 0.8227 GB, free: 22.98 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004221/0.4525, allocations: 488.8 kB / 0.8232 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.4525, allocations: 10.84 kB / 0.8232 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.4527, allocations: 61.42 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.4531, allocations: 235.2 kB / 0.8235 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4531, allocations: 15.09 kB / 0.8235 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.4531, allocations: 19.09 kB / 0.8235 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.4533, allocations: 150.1 kB / 0.8236 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.4533, allocations: 4.938 kB / 0.8237 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.4534, allocations: 2.188 kB / 0.8237 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4534, allocations: 4.344 kB / 0.8237 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4535, allocations: 68.41 kB / 0.8237 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.454, allocations: 0.7189 MB / 0.8244 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.4541, allocations: 64.16 kB / 0.8245 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.4541, allocations: 22.58 kB / 0.8245 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.164e-06/0.4541, allocations: 1.281 kB / 0.8245 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.4543, allocations: 104.2 kB / 0.8246 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 7.21e-07/0.4543, allocations: 0 / 0.8246 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0001939/0.4545, allocations: 125.8 kB / 0.8247 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.4545, allocations: 79.86 kB / 0.8248 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4546, allocations: 215.3 kB / 0.825 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4546, allocations: 34.05 kB / 0.825 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.4547, allocations: 148.2 kB / 0.8252 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.4547, allocations: 20.75 kB / 0.8252 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.4548, allocations: 63.98 kB / 0.8253 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.4548, allocations: 330 kB / 0.8256 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.4549, allocations: 62.25 kB / 0.8256 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.455, allocations: 135.8 kB / 0.8258 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.4552, allocations: 196.6 kB / 0.826 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4552, allocations: 5.375 kB / 0.826 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002878/0.4554, allocations: 295.5 kB / 0.8262 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.4555, allocations: 68.17 kB / 0.8263 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.4555, allocations: 6.031 kB / 0.8263 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.4555, allocations: 3.531 kB / 0.8263 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.4555, allocations: 8.562 kB / 0.8263 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4555, allocations: 6.344 kB / 0.8263 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.4557, allocations: 57.61 kB / 0.8264 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.4557, allocations: 17.33 kB / 0.8264 GB, free: 20.09 MB / 0.6355 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 7.892e-05/0.4558, allocations: 149.2 kB / 0.8265 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.4558, allocations: 16.47 kB / 0.8266 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.4559, allocations: 15.83 kB / 0.8266 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4559, allocations: 1.5 kB / 0.8266 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4559, allocations: 1.969 kB / 0.8266 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4559, allocations: 1.656 kB / 0.8266 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.456, allocations: 212.1 kB / 0.8268 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.456, allocations: 0 / 0.8268 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.456, allocations: 13.56 kB / 0.8268 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.456, allocations: 1.406 kB / 0.8268 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.456, allocations: 2.125 kB / 0.8268 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.456, allocations: 0.6562 kB / 0.8268 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.456, allocations: 1.344 kB / 0.8268 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4561, allocations: 138.3 kB / 0.8269 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.4561, allocations: 12.25 kB / 0.8269 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4562, allocations: 7.531 kB / 0.827 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.4562, allocations: 4.891 kB / 0.827 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.4562, allocations: 10.12 kB / 0.827 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4562, allocations: 8.828 kB / 0.827 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.4563, allocations: 144.4 kB / 0.8271 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4563, allocations: 0 / 0.8271 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001751/0.4565, allocations: 48.25 kB / 0.8272 GB, free: 19.51 MB / 0.6355 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 8.625e-05/0.4565, allocations: 100.2 kB / 0.8273 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.4568, allocations: 235.6 kB / 0.8275 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.4568, allocations: 0 / 0.8275 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.4568, allocations: 29.02 kB / 0.8275 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.457, allocations: 54.41 kB / 0.8276 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.4573, allocations: 343.6 kB / 0.8279 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4574, allocations: 0.7239 MB / 0.8286 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.4575, allocations: 16.78 kB / 0.8286 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4575, allocations: 1.094 kB / 0.8286 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.003718/0.4612, allocations: 2.512 MB / 0.8311 GB, free: 18.01 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.754393229959533] Failed to read output from testmodel.py, exit status != 0: 0.4662904869765043 0.47479234699999995 0.021035366 Calling exit ...