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.0008332/0.0008332, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001375/0.001375, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9043/0.9043, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7123/0.7123, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.209e-05, allocations: 4.797 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001779/0.001801, allocations: 1.233 MB / 0.6193 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.003338, allocations: 1.583 MB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.003435, allocations: 3.938 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003552, allocations: 31.61 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.003657, allocations: 83.3 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.004465, allocations: 0.4918 MB / 0.6214 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000475/0.00494, allocations: 0.6637 MB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.005146, allocations: 109.3 kB / 0.6221 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.005413, allocations: 363.5 kB / 0.6225 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.005726, allocations: 199.4 kB / 0.6227 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.005868, allocations: 64 kB / 0.6227 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.006003, allocations: 75.98 kB / 0.6228 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.006089, allocations: 83.67 kB / 0.6229 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.006259, allocations: 183.6 kB / 0.6231 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.006884, allocations: 0.7673 MB / 0.6238 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.006889, allocations: 8 kB / 0.6238 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.944e-06/0.006891, allocations: 0 / 0.6238 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.006902, allocations: 4 kB / 0.6238 GB, free: 7.801 MB / 0.5886 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.0009707/0.007873, allocations: 0.8594 MB / 0.6247 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.007912, allocations: 9.469 kB / 0.6247 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.007961, allocations: 66.72 kB / 0.6247 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.00805, allocations: 52.66 kB / 0.6248 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.008783, allocations: 408.6 kB / 0.6252 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.008812, allocations: 32.86 kB / 0.6252 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.008862, allocations: 32.38 kB / 0.6252 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.009303, allocations: 457 kB / 0.6257 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.009312, allocations: 192 / 0.6257 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.009331, allocations: 12.38 kB / 0.6257 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.00934, allocations: 11.94 kB / 0.6257 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.009736, allocations: 386.3 kB / 0.6261 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01077, allocations: 0.7785 MB / 0.6268 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004373/0.01121, allocations: 483.7 kB / 0.6273 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.01153, allocations: 389.4 kB / 0.6277 GB, free: 3.574 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01154, allocations: 4 kB / 0.6277 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004893/0.01203, allocations: 463.4 kB / 0.6281 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.01204, allocations: 0 / 0.6281 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=44): time 0.001065/0.0131, allocations: 1.108 MB / 0.6292 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.01317, allocations: 195.9 kB / 0.6294 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.01339, allocations: 288.5 kB / 0.6297 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.01343, allocations: 41.7 kB / 0.6297 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01354, allocations: 172.9 kB / 0.6299 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.01361, allocations: 134.9 kB / 0.63 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.01376, allocations: 134.1 kB / 0.6301 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.01386, allocations: 346.8 kB / 0.6304 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.01457, allocations: 0.5275 MB / 0.631 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.01508, allocations: 0.6103 MB / 0.6316 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007466/0.01583, allocations: 0.9175 MB / 0.6325 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.01583, allocations: 0 / 0.6325 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001092/0.01693, allocations: 1.265 MB / 0.6337 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.01703, allocations: 259.3 kB / 0.6339 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01704, allocations: 288 / 0.6339 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.01706, allocations: 8 kB / 0.6339 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.01722, allocations: 67.89 kB / 0.634 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.01723, allocations: 7.938 kB / 0.634 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.0176, allocations: 143.6 kB / 0.6342 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.01769, allocations: 71.92 kB / 0.6342 GB, free: 12.21 MB / 0.6042 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.0002071/0.01789, allocations: 315.2 kB / 0.6345 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.01793, allocations: 47.7 kB / 0.6346 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.018, allocations: 39.48 kB / 0.6346 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.01801, allocations: 4 kB / 0.6346 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.01801, allocations: 4 kB / 0.6346 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.01802, allocations: 4 kB / 0.6346 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.01936, allocations: 1.266 MB / 0.6359 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01936, allocations: 0 / 0.6359 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.01949, allocations: 63.88 kB / 0.6359 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.0195, allocations: 4 kB / 0.6359 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.01951, allocations: 12 kB / 0.6359 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01952, allocations: 4 kB / 0.6359 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01952, allocations: 0 / 0.6359 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.02019, allocations: 0.8957 MB / 0.6368 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.02024, allocations: 47.64 kB / 0.6369 GB, free: 9.293 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.02027, allocations: 11.94 kB / 0.6369 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.02038, allocations: 23.97 kB / 0.6369 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.02045, allocations: 35.94 kB / 0.6369 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.0205, allocations: 51.88 kB / 0.637 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001354/0.02064, allocations: 207 kB / 0.6372 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02064, allocations: 4 kB / 0.6372 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005861/0.02122, allocations: 107.9 kB / 0.6373 GB, free: 8.859 MB / 0.6042 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.0009529/0.02218, allocations: 1.453 MB / 0.6387 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.0232, allocations: 1.437 MB / 0.6401 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0232, allocations: 0 / 0.6401 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.02358, allocations: 0.6268 MB / 0.6407 GB, free: 4.965 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.02393, allocations: 87.64 kB / 0.6408 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.0287, allocations: 5.858 MB / 0.6465 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.02883, allocations: 193 kB / 0.6467 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.029, allocations: 95.19 kB / 0.6468 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.02912, allocations: 120.5 kB / 0.6469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of SimCode: time 9.81e-07/0.02912, allocations: 0 / 0.6469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.05437, allocations: 11.15 MB / 0.6578 GB, free: 3.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.055, allocations: 11.2 kB / 0.6578 GB, free: 3.289 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.763194986619055] Failed to read output from testmodel.py, exit status != 0: 7.137583927251399 7.15387296 7.144257994 Calling exit ...