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.0008878/0.0008878, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001172/0.001172, allocations: 222.3 kB / 22.26 MB, free: 3.688 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.9963/0.9963, allocations: 230.6 MB / 256 MB, free: 9.812 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.8033/0.8033, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [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.0009842/0.0009842, allocations: 71.14 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4646, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001524/0.4662, allocations: 0.8765 MB / 0.8187 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.4675, allocations: 1.34 MB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.4676, allocations: 6.281 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.4677, allocations: 15.09 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.4678, allocations: 33.58 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.4685, allocations: 263.9 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.4688, allocations: 332.9 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.469, allocations: 43.72 kB / 0.8207 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.4691, allocations: 134.2 kB / 0.8208 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.4693, allocations: 109.7 kB / 0.8209 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.4693, allocations: 31.38 kB / 0.8209 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.4694, allocations: 51.36 kB / 0.821 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.4695, allocations: 49.7 kB / 0.821 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.4696, allocations: 119 kB / 0.8212 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.4699, allocations: 351.1 kB / 0.8215 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4699, allocations: 0.6562 kB / 0.8215 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4699, allocations: 0 / 0.8215 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.47, allocations: 4 kB / 0.8215 GB, free: 15.02 MB / 0.6198 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.0005663/0.4705, allocations: 492.1 kB / 0.822 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4706, allocations: 9.219 kB / 0.822 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.4706, allocations: 49.22 kB / 0.822 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.4708, allocations: 59.16 kB / 0.8221 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.4713, allocations: 230.4 kB / 0.8223 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.4713, allocations: 16.84 kB / 0.8223 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.4713, allocations: 19.5 kB / 0.8223 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.4715, allocations: 155.6 kB / 0.8225 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4716, allocations: 3.938 kB / 0.8225 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4716, allocations: 4.75 kB / 0.8225 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4716, allocations: 2.5 kB / 0.8225 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.4717, allocations: 65.34 kB / 0.8226 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.4724, allocations: 0.7203 MB / 0.8233 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.4727, allocations: 59.39 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.4728, allocations: 23.27 kB / 0.8233 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.4728, allocations: 0.8438 kB / 0.8233 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.473, allocations: 105.8 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/0.473, allocations: 4 kB / 0.8234 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002409/0.4732, allocations: 124.8 kB / 0.8236 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.4733, allocations: 83.84 kB / 0.8236 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4735, allocations: 215.5 kB / 0.8238 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.4735, allocations: 29.92 kB / 0.8239 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.4736, allocations: 143.7 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.4736, allocations: 19.94 kB / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.4737, allocations: 62.83 kB / 0.8241 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.4738, allocations: 335.5 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4739, allocations: 64.16 kB / 0.8245 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.474, allocations: 130.5 kB / 0.8246 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4742, allocations: 189.1 kB / 0.8248 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4742, allocations: 5.922 kB / 0.8248 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003621/0.4745, allocations: 303.2 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.4746, allocations: 68.97 kB / 0.8251 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4746, allocations: 1.219 kB / 0.8251 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4746, allocations: 2.594 kB / 0.8251 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.657e-05/0.4747, allocations: 12.95 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4747, allocations: 3.516 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4749, allocations: 64.33 kB / 0.8252 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4749, allocations: 12.69 kB / 0.8252 GB, free: 12.05 MB / 0.6198 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.0001155/0.475, allocations: 146.8 kB / 0.8254 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.475, allocations: 15.62 kB / 0.8254 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.4751, allocations: 16.58 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4751, allocations: 1.156 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4751, allocations: 2.141 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4751, allocations: 5.266 kB / 0.8254 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.4753, allocations: 212 kB / 0.8256 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4753, allocations: 0.6094 kB / 0.8256 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.4753, allocations: 9.266 kB / 0.8256 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4753, allocations: 5.281 kB / 0.8256 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4753, allocations: 2.109 kB / 0.8256 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4753, allocations: 1.891 kB / 0.8256 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4753, allocations: 0 / 0.8256 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.4754, allocations: 146.8 kB / 0.8258 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.4755, allocations: 12.8 kB / 0.8258 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.4755, allocations: 2.562 kB / 0.8258 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.4755, allocations: 2.062 kB / 0.8258 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4755, allocations: 13.81 kB / 0.8258 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4755, allocations: 3.625 kB / 0.8258 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001001/0.4756, allocations: 149.2 kB / 0.8259 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4756, allocations: 0 / 0.8259 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000214/0.4758, allocations: 43.92 kB / 0.826 GB, free: 11.46 MB / 0.6198 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.0003851/0.4762, allocations: 0.6799 MB / 0.8266 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.4765, allocations: 232 kB / 0.8269 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4765, allocations: 1.219 kB / 0.8269 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.4766, allocations: 34.73 kB / 0.8269 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4768, allocations: 39.12 kB / 0.8269 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.4787, allocations: 2.18 MB / 0.8291 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.479, allocations: 0.7286 MB / 0.8298 GB, free: 8.262 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.721e-05/0.479, allocations: 24.23 kB / 0.8298 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.4791, allocations: 56.06 kB / 0.8299 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4791, allocations: 0 / 0.8299 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.5002, allocations: 4.404 MB / 0.8342 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.77/7.27, allocations: 10.8 kB / 0.8342 GB, free: 7.586 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.192410276969895] Failed to read output from testmodel.py, exit status != 0: 7.349913818994537 7.362634906 6.888870021 Calling exit ...