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.0007946/0.0007946, 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.0008427/0.0008427, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9425/0.9425, allocations: 230.6 MB / 256 MB, free: 9.809 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.8099/0.8099, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.0009469/0.0009469, allocations: 69.52 kB / 0.7182 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5572, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001866/0.559, allocations: 1.345 MB / 0.8192 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.5608, allocations: 1.586 MB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.5609, allocations: 7.719 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.561, allocations: 44.25 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.5611, allocations: 72.47 kB / 0.8208 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.562, allocations: 0.4987 MB / 0.8213 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.5625, allocations: 0.6526 MB / 0.822 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.5627, allocations: 115.8 kB / 0.8221 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.563, allocations: 258.4 kB / 0.8223 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.5632, allocations: 247.9 kB / 0.8226 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.201e-05/0.5633, allocations: 66.59 kB / 0.8226 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.5634, allocations: 73.12 kB / 0.8227 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.5634, allocations: 84.69 kB / 0.8228 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.5636, allocations: 250.8 kB / 0.823 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.5643, allocations: 0.6808 MB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5643, allocations: 0.5156 kB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5643, allocations: 1.406 kB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.5643, allocations: 4 kB / 0.8237 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.0009994/0.5653, allocations: 0.8694 MB / 0.8245 GB, free: 13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5653, allocations: 12.44 kB / 0.8245 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.5654, allocations: 64.59 kB / 0.8246 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.5655, allocations: 56.41 kB / 0.8247 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.5662, allocations: 408.4 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.5663, allocations: 27.7 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.5664, allocations: 36.98 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.5668, allocations: 329.3 kB / 0.8254 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5668, allocations: 2.281 kB / 0.8254 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.5668, allocations: 7.812 kB / 0.8254 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5669, allocations: 5.375 kB / 0.8254 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.5672, allocations: 262.2 kB / 0.8257 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.5684, allocations: 0.8707 MB / 0.8265 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.5689, allocations: 354.4 kB / 0.8269 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.5692, allocations: 260.1 kB / 0.8271 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.5692, allocations: 4.703 kB / 0.8271 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.5696, allocations: 325.8 kB / 0.8274 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.853e-06/0.5696, allocations: 0 / 0.8274 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001038/0.5707, allocations: 0.8381 MB / 0.8283 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.5707, allocations: 193.3 kB / 0.8284 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.571, allocations: 291.4 kB / 0.8287 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.571, allocations: 43.67 kB / 0.8288 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5711, allocations: 165.7 kB / 0.8289 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.5712, allocations: 141.5 kB / 0.8291 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.5714, allocations: 131.9 kB / 0.8292 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.5715, allocations: 350.6 kB / 0.8295 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.5719, allocations: 276.9 kB / 0.8298 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.5725, allocations: 365.5 kB / 0.8301 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.5759, allocations: 0.9081 MB / 0.831 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.5759, allocations: 4 kB / 0.831 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001708/0.5776, allocations: 0.997 MB / 0.832 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.5778, allocations: 265.7 kB / 0.8323 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5778, allocations: 2.031 kB / 0.8323 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.5778, allocations: 4.688 kB / 0.8323 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.578, allocations: 67.28 kB / 0.8323 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.578, allocations: 4.984 kB / 0.8323 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.5785, allocations: 147.9 kB / 0.8325 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.5787, allocations: 68.7 kB / 0.8325 GB, free: 8.473 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.0007389/0.5794, allocations: 322.6 kB / 0.8328 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.5795, allocations: 39.75 kB / 0.8329 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.5796, allocations: 37.38 kB / 0.8329 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.5796, allocations: 5 kB / 0.8329 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.5796, allocations: 1.094 kB / 0.8329 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5796, allocations: 1.875 kB / 0.8329 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.5812, allocations: 1.166 MB / 0.8341 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5812, allocations: 0 / 0.8341 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5813, allocations: 66.11 kB / 0.8341 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5813, allocations: 3.438 kB / 0.8341 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5814, allocations: 14.89 kB / 0.8341 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.5814, allocations: 5.969 kB / 0.8341 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5814, allocations: 1.281 kB / 0.8341 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009231/0.5823, allocations: 0.7646 MB / 0.8349 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.5823, allocations: 38.39 kB / 0.8349 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.5824, allocations: 13.73 kB / 0.8349 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.5825, allocations: 30.36 kB / 0.835 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5826, allocations: 36.78 kB / 0.835 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/0.5827, allocations: 47.81 kB / 0.8351 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002276/0.5829, allocations: 195.9 kB / 0.8352 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5829, allocations: 1.094 kB / 0.8352 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004875/0.5834, allocations: 115.4 kB / 0.8354 GB, free: 6.793 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.001302/0.5847, allocations: 1.325 MB / 0.8366 GB, free: 5.816 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.5859, allocations: 1.037 MB / 0.8377 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5859, allocations: 4.062 kB / 0.8377 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.5863, allocations: 0.4895 MB / 0.8381 GB, free: 4.727 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.5867, allocations: 92.23 kB / 0.8382 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.5926, allocations: 4.666 MB / 0.8428 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.593, allocations: 0.7942 MB / 0.8436 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.5932, allocations: 98.53 kB / 0.8437 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5933, allocations: 116.9 kB / 0.8438 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.5933, allocations: 0 / 0.8438 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.6231, allocations: 10.19 MB / 0.8537 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.484, allocations: 11.86 kB / 0.8537 GB, free: 12.01 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.533991602016613] Failed to read output from testmodel.py, exit status != 0: 7.565441098064184 7.576205923 7.010012686 Calling exit ...