Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.0008261/0.0008261, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.0009713/0.0009713, allocations: 212 kB / 22.25 MB, free: 3.578 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.9534/0.9534, allocations: 230.6 MB / 256 MB, free: 9.609 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.768/0.768, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.RealExtractor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.00108/0.00108, allocations: 66.17 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4884, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001896/0.4903, allocations: 1.236 MB / 0.819 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.4921, allocations: 1.567 MB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.4922, allocations: 9.312 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.4923, allocations: 36.7 kB / 0.8206 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.4924, allocations: 74.36 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008572/0.4932, allocations: 0.4997 MB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.4938, allocations: 0.6478 MB / 0.8218 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.494, allocations: 110.1 kB / 0.8219 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.4942, allocations: 257.3 kB / 0.8221 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.4944, allocations: 218.7 kB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.248e-05/0.4945, allocations: 64.28 kB / 0.8224 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.4946, allocations: 78.83 kB / 0.8225 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.4947, allocations: 78.67 kB / 0.8225 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.4949, allocations: 215.9 kB / 0.8227 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.4956, allocations: 0.6854 MB / 0.8234 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4956, allocations: 0.6562 kB / 0.8234 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4956, allocations: 0 / 0.8234 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.4956, allocations: 1.156 kB / 0.8234 GB, free: 13.74 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001009/0.4967, allocations: 0.8785 MB / 0.8243 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4967, allocations: 10.66 kB / 0.8243 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.371e-05/0.4967, allocations: 62.84 kB / 0.8243 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.83e-05/0.4968, allocations: 52.84 kB / 0.8244 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.4976, allocations: 412.5 kB / 0.8248 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.4977, allocations: 27.95 kB / 0.8248 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.4977, allocations: 41.27 kB / 0.8249 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.4982, allocations: 457.3 kB / 0.8253 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4982, allocations: 0.9375 kB / 0.8253 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.4983, allocations: 8.938 kB / 0.8253 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4983, allocations: 9.594 kB / 0.8253 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004415/0.4987, allocations: 390.5 kB / 0.8257 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.4999, allocations: 0.7788 MB / 0.8264 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.5003, allocations: 490.4 kB / 0.8269 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.5007, allocations: 396.8 kB / 0.8273 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.5007, allocations: 3.719 kB / 0.8273 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.5012, allocations: 458.9 kB / 0.8277 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.5012, allocations: 0 / 0.8277 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001133/0.5023, allocations: 1.106 MB / 0.8288 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.5024, allocations: 188.3 kB / 0.829 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.5026, allocations: 291.8 kB / 0.8293 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.5026, allocations: 52.59 kB / 0.8293 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.5028, allocations: 166.3 kB / 0.8295 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.64e-05/0.5028, allocations: 136 kB / 0.8296 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.503, allocations: 132.3 kB / 0.8297 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5031, allocations: 348.1 kB / 0.8301 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.5037, allocations: 0.5262 MB / 0.8306 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.5043, allocations: 0.6136 MB / 0.8312 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.5051, allocations: 0.9145 MB / 0.8321 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.5051, allocations: 1.188 kB / 0.8321 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001173/0.5063, allocations: 1.258 MB / 0.8333 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.5064, allocations: 266.9 kB / 0.8336 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5064, allocations: 2.25 kB / 0.8336 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5064, allocations: 4.531 kB / 0.8336 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.5066, allocations: 67.48 kB / 0.8336 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.5066, allocations: 5.344 kB / 0.8336 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.507, allocations: 146.3 kB / 0.8338 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.5071, allocations: 68.73 kB / 0.8338 GB, free: 6.488 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0002088/0.5073, allocations: 319.2 kB / 0.8341 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.5074, allocations: 39.92 kB / 0.8342 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.5074, allocations: 42.38 kB / 0.8342 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.5074, allocations: 4.875 kB / 0.8342 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5074, allocations: 0 / 0.8342 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5075, allocations: 2.25 kB / 0.8342 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.5088, allocations: 1.259 MB / 0.8355 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5088, allocations: 1.344 kB / 0.8355 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.5089, allocations: 73.67 kB / 0.8355 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.509, allocations: 3.047 kB / 0.8355 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.509, allocations: 11.16 kB / 0.8355 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.509, allocations: 7.016 kB / 0.8356 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.509, allocations: 0 / 0.8356 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008321/0.5098, allocations: 0.8936 MB / 0.8364 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5099, allocations: 43.8 kB / 0.8365 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.5099, allocations: 9.812 kB / 0.8365 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.51, allocations: 30.78 kB / 0.8365 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.5101, allocations: 39.14 kB / 0.8365 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.5102, allocations: 47.58 kB / 0.8366 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001605/0.5103, allocations: 198.2 kB / 0.8368 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5103, allocations: 0 / 0.8368 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003931/0.5107, allocations: 111.5 kB / 0.8369 GB, free: 4.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.001089/0.5118, allocations: 1.463 MB / 0.8383 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.5133, allocations: 1.432 MB / 0.8397 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5133, allocations: 0 / 0.8397 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.5139, allocations: 0.624 MB / 0.8403 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.5144, allocations: 90.48 kB / 0.8404 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.5199, allocations: 5.855 MB / 0.8461 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.5201, allocations: 187.7 kB / 0.8463 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.5203, allocations: 98.95 kB / 0.8464 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.5204, allocations: 115.8 kB / 0.8465 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/0.5204, allocations: 0 / 0.8465 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.5466, allocations: 11.09 MB / 0.8573 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/7.429, allocations: 9.547 kB / 0.8573 GB, free: 7.48 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.404707395005971] Failed to read output from testmodel.py, exit status != 0: 7.514784523285925 7.527174706 7.028986907 Calling exit ...