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.001471/0.001471, 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.001591/0.001591, allocations: 165.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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.7223/0.7223, allocations: 154.5 MB / 413.7 MB, free: 0.8477 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.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: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.598e-05, allocations: 5.234 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00213/0.002156, allocations: 0.9466 MB / 0.619 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.003465, allocations: 1.365 MB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.003529, allocations: 0 / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.00363, allocations: 19.8 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.003709, allocations: 51.58 kB / 0.6204 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.004289, allocations: 279.6 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.004606, allocations: 391.1 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.004737, allocations: 41.78 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.004928, allocations: 207.7 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.00506, allocations: 118.8 kB / 0.6214 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.005097, allocations: 32 kB / 0.6214 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.005184, allocations: 51.98 kB / 0.6214 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.005247, allocations: 59.77 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.005331, allocations: 103.7 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.005644, allocations: 438.8 kB / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.005648, allocations: 0 / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.463e-06/0.00565, allocations: 0 / 0.622 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005654, allocations: 0 / 0.622 GB, free: 9.691 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006307/0.006285, allocations: 0.5511 MB / 0.6225 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.00632, allocations: 9.469 kB / 0.6226 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.006358, allocations: 50.67 kB / 0.6226 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.006588, allocations: 76.7 kB / 0.6227 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.007073, allocations: 300.9 kB / 0.623 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.007092, allocations: 16.38 kB / 0.623 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.007121, allocations: 24.31 kB / 0.623 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.007376, allocations: 198.4 kB / 0.6232 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.007385, allocations: 192 / 0.6232 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.007398, allocations: 8.375 kB / 0.6232 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.007405, allocations: 3.938 kB / 0.6232 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.007644, allocations: 147.7 kB / 0.6233 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.008304, allocations: 0.8127 MB / 0.6241 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.008493, allocations: 149 kB / 0.6243 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.008607, allocations: 88.12 kB / 0.6244 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.008619, allocations: 0 / 0.6244 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.008883, allocations: 171.5 kB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 8.11e-07/0.008883, allocations: 0 / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0004657/0.009349, allocations: 253.5 kB / 0.6248 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.009405, allocations: 170.1 kB / 0.6249 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.009582, allocations: 229.7 kB / 0.6252 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.009609, allocations: 33.7 kB / 0.6252 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.009683, allocations: 148.4 kB / 0.6253 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.009705, allocations: 31.73 kB / 0.6254 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.009777, allocations: 65.8 kB / 0.6254 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.009854, allocations: 330.8 kB / 0.6257 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.01005, allocations: 167.3 kB / 0.6259 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.01034, allocations: 280.2 kB / 0.6262 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.01064, allocations: 274.9 kB / 0.6264 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01064, allocations: 0 / 0.6264 GB, free: 4.734 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007178/0.01136, allocations: 451.9 kB / 0.6269 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.01143, allocations: 65.42 kB / 0.6269 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.01144, allocations: 4 kB / 0.6269 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.01146, allocations: 8.219 kB / 0.6269 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01157, allocations: 31.91 kB / 0.627 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.01158, allocations: 4 kB / 0.627 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.01187, allocations: 59.92 kB / 0.627 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.0119, allocations: 19.98 kB / 0.627 GB, free: 4.062 MB / 0.5886 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.0001524/0.01206, allocations: 154.7 kB / 0.6272 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.0121, allocations: 31.78 kB / 0.6272 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.01215, allocations: 21.28 kB / 0.6272 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.01216, allocations: 4 kB / 0.6272 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.01217, allocations: 0 / 0.6272 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01217, allocations: 7.984 kB / 0.6272 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.01237, allocations: 212.6 kB / 0.6275 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01238, allocations: 0 / 0.6275 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.01246, allocations: 27.97 kB / 0.6275 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01247, allocations: 4 kB / 0.6275 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01248, allocations: 8 kB / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01248, allocations: 0 / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01249, allocations: 3.984 kB / 0.6275 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.01284, allocations: 240.2 kB / 0.6277 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.01287, allocations: 19.89 kB / 0.6277 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01289, allocations: 0 / 0.6277 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.01296, allocations: 23.98 kB / 0.6278 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.01303, allocations: 15.97 kB / 0.6278 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01304, allocations: 4 kB / 0.6278 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001194/0.01316, allocations: 169.1 kB / 0.6279 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/0.01316, allocations: 0 / 0.6279 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002665/0.01342, allocations: 51.89 kB / 0.628 GB, free: 3 MB / 0.5886 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.0005926/0.01402, allocations: 0.7831 MB / 0.6288 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.01449, allocations: 374 kB / 0.6291 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0145, allocations: 0 / 0.6291 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01463, allocations: 80.61 kB / 0.6292 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.01487, allocations: 52.41 kB / 0.6292 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.01753, allocations: 2.824 MB / 0.632 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.01766, allocations: 136.8 kB / 0.6321 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.01776, allocations: 33.62 kB / 0.6322 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.01784, allocations: 68.47 kB / 0.6322 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of SimCode: time 9.61e-07/0.01784, allocations: 3.938 kB / 0.6322 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.03876, allocations: 6.218 MB / 0.6383 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.101, allocations: 10.66 kB / 0.6383 GB, free: 8.371 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_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_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.898371892049909] Failed to read output from testmodel.py, exit status != 0: 7.186144980601966 7.196259956 7.188683372 Calling exit ...