Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001051/0.001051, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008598/0.0008598, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9606/0.9606, allocations: 230.6 MB / 256 MB, free: 9.434 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.7983/0.7983, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.0009944/0.0009944, allocations: 68.92 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5154, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001536/0.5169, allocations: 0.9561 MB / 0.8187 GB, free: 424 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.5181, allocations: 1.359 MB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.5182, allocations: 2.312 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.5183, allocations: 19.36 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.5184, allocations: 44.47 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.5189, allocations: 281.2 kB / 0.8204 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.5192, allocations: 382.3 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.5194, allocations: 50.8 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.5195, allocations: 151.9 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.5197, allocations: 122.1 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.5197, allocations: 32.69 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-05/0.5198, allocations: 51.36 kB / 0.8211 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.5199, allocations: 60.28 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.52, allocations: 117.4 kB / 0.8213 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.5203, allocations: 409 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5203, allocations: 1.156 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5203, allocations: 0 / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.5203, allocations: 0 / 0.8217 GB, free: 14.66 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006694/0.521, allocations: 0.5468 MB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.521, allocations: 9.594 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.5211, allocations: 49.08 kB / 0.8223 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.5213, allocations: 68.44 kB / 0.8224 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.5219, allocations: 307.8 kB / 0.8226 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5219, allocations: 14.97 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.5219, allocations: 21.09 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.5222, allocations: 216 kB / 0.8229 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.5222, allocations: 0 / 0.8229 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5222, allocations: 5.531 kB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.5222, allocations: 4.344 kB / 0.8229 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.5225, allocations: 143.6 kB / 0.823 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.5232, allocations: 0.8225 MB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.5234, allocations: 152 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.5235, allocations: 80.88 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.5236, allocations: 2.906 kB / 0.8241 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.5238, allocations: 171.7 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.5238, allocations: 4 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005073/0.5243, allocations: 255.3 kB / 0.8245 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.5244, allocations: 166.6 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.5245, allocations: 217.6 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.5246, allocations: 34.83 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.5249, allocations: 153.4 kB / 0.825 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.5249, allocations: 34.27 kB / 0.8251 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.525, allocations: 56.42 kB / 0.8251 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.5251, allocations: 334.3 kB / 0.8254 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.5253, allocations: 160.7 kB / 0.8256 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.5256, allocations: 299 kB / 0.8259 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.5259, allocations: 279.4 kB / 0.8261 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5259, allocations: 1.062 kB / 0.8261 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000505/0.5264, allocations: 437.4 kB / 0.8265 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.5264, allocations: 63.38 kB / 0.8266 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5264, allocations: 5.406 kB / 0.8266 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.5264, allocations: 0 / 0.8266 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.5265, allocations: 29.14 kB / 0.8266 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5265, allocations: 5.625 kB / 0.8266 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.5267, allocations: 73.11 kB / 0.8267 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.5268, allocations: 14.83 kB / 0.8267 GB, free: 10.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001074/0.5269, allocations: 156.2 kB / 0.8269 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.5269, allocations: 24.73 kB / 0.8269 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.5269, allocations: 19.53 kB / 0.8269 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5269, allocations: 7.391 kB / 0.8269 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5269, allocations: 1.281 kB / 0.8269 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5269, allocations: 2.156 kB / 0.8269 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.5271, allocations: 215.2 kB / 0.8271 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5271, allocations: 2.031 kB / 0.8271 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.5272, allocations: 28.62 kB / 0.8272 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5272, allocations: 2.594 kB / 0.8272 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5272, allocations: 7.031 kB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5272, allocations: 1.703 kB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5272, allocations: 6.156 kB / 0.8272 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.5275, allocations: 242.1 kB / 0.8274 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.5275, allocations: 18.66 kB / 0.8274 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.5275, allocations: 11.92 kB / 0.8274 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.5276, allocations: 20.31 kB / 0.8275 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.5277, allocations: 15.69 kB / 0.8275 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.5277, allocations: 8.984 kB / 0.8275 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001083/0.5278, allocations: 163.3 kB / 0.8276 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5278, allocations: 0 / 0.8276 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001971/0.528, allocations: 53.28 kB / 0.8277 GB, free: 10.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0005188/0.5285, allocations: 0.786 MB / 0.8285 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000491/0.529, allocations: 382.4 kB / 0.8288 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.529, allocations: 0 / 0.8288 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.5291, allocations: 70.09 kB / 0.8289 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.5294, allocations: 60.62 kB / 0.8289 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.5321, allocations: 2.814 MB / 0.8317 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.5322, allocations: 135 kB / 0.8318 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.963e-05/0.5323, allocations: 32.94 kB / 0.8319 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.5324, allocations: 68.81 kB / 0.8319 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5324, allocations: 0.5312 kB / 0.8319 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.5522, allocations: 6.093 MB / 0.8379 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/7.452, allocations: 5.125 kB / 0.8379 GB, free: 5.215 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.403281833045185] Failed to read output from testmodel.py, exit status != 0: 7.530780164990574 7.544135863 7.021585072 Calling exit ...