Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0009014/0.0009014, 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.0008809/0.0008809, 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.8758/0.8758, allocations: 177.2 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.729/0.729, 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.BooleanExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.618 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.402e-05, allocations: 3.781 kB / 0.618 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001449/0.001473, allocations: 0.6955 MB / 0.6187 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.002729, allocations: 1.268 MB / 0.62 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.002776, allocations: 0 / 0.62 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 9.586e-05/0.002872, allocations: 15.86 kB / 0.62 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.43e-05/0.002916, allocations: 23.78 kB / 0.62 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.003469, allocations: 245.9 kB / 0.6202 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.003716, allocations: 247.6 kB / 0.6205 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.003849, allocations: 23.97 kB / 0.6205 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.004019, allocations: 143.8 kB / 0.6206 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.004159, allocations: 67.83 kB / 0.6207 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.004193, allocations: 20 kB / 0.6207 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.004376, allocations: 39.92 kB / 0.6207 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.004447, allocations: 31.91 kB / 0.6208 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.004528, allocations: 71.81 kB / 0.6208 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.004789, allocations: 259.3 kB / 0.6211 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004791, allocations: 0 / 0.6211 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.653e-06/0.004792, allocations: 0 / 0.6211 GB, free: 9.504 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.004797, allocations: 4 kB / 0.6211 GB, free: 9.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004574/0.005254, allocations: 433.1 kB / 0.6215 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.005291, allocations: 9.469 kB / 0.6215 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.005321, allocations: 42.73 kB / 0.6216 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000242/0.005563, allocations: 64.75 kB / 0.6216 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.005895, allocations: 201.6 kB / 0.6218 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.005909, allocations: 12.38 kB / 0.6218 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.005933, allocations: 12.38 kB / 0.6218 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.006092, allocations: 130.1 kB / 0.622 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.006101, allocations: 4.172 kB / 0.622 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.006111, allocations: 4.375 kB / 0.622 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.006119, allocations: 11.92 kB / 0.622 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.006187, allocations: 51.91 kB / 0.622 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.006648, allocations: 0.6018 MB / 0.6226 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.006699, allocations: 37.16 kB / 0.6226 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.006718, allocations: 21.78 kB / 0.6227 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.006724, allocations: 0 / 0.6227 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.006867, allocations: 92.98 kB / 0.6228 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.006868, allocations: 0 / 0.6228 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0002305/0.007098, allocations: 113.4 kB / 0.6229 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.007143, allocations: 77.11 kB / 0.6229 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.007258, allocations: 173.8 kB / 0.6231 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.007281, allocations: 29.7 kB / 0.6231 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.007349, allocations: 128 kB / 0.6233 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.007359, allocations: 19.91 kB / 0.6233 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.007425, allocations: 61.67 kB / 0.6233 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.007505, allocations: 322.8 kB / 0.6236 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.00761, allocations: 111.4 kB / 0.6237 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.007738, allocations: 230 kB / 0.624 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.007872, allocations: 182.2 kB / 0.6241 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007874, allocations: 0 / 0.6241 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002989/0.008173, allocations: 328.2 kB / 0.6245 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.008212, allocations: 63.34 kB / 0.6245 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.008217, allocations: 0 / 0.6245 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.008234, allocations: 7.984 kB / 0.6245 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.57e-05/0.00825, allocations: 8 kB / 0.6245 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.008256, allocations: 3.938 kB / 0.6245 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.008442, allocations: 68.08 kB / 0.6246 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.008461, allocations: 11.98 kB / 0.6246 GB, free: 5.504 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 8.624e-05/0.008547, allocations: 134.8 kB / 0.6247 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.008559, allocations: 12.33 kB / 0.6248 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.008592, allocations: 20.22 kB / 0.6248 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008595, allocations: 3.984 kB / 0.6248 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.0086, allocations: 4 kB / 0.6248 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.008603, allocations: 0 / 0.6248 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.008716, allocations: 176.7 kB / 0.6249 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.008717, allocations: 0 / 0.6249 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-06/0.008722, allocations: 0 / 0.6249 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.008724, allocations: 4 kB / 0.6249 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.008734, allocations: 3.938 kB / 0.625 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008736, allocations: 3.938 kB / 0.625 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008737, allocations: 0 / 0.625 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.368e-05/0.00883, allocations: 117.9 kB / 0.6251 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.008839, allocations: 7.953 kB / 0.6251 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.008852, allocations: 11.94 kB / 0.6251 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.346e-05/0.008866, allocations: 3.984 kB / 0.6251 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.00889, allocations: 8 kB / 0.6251 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008894, allocations: 0 / 0.6251 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.00895, allocations: 119.3 kB / 0.6252 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.00895, allocations: 3.938 kB / 0.6252 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001885/0.009138, allocations: 39.89 kB / 0.6253 GB, free: 4.758 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0002929/0.009431, allocations: 0.6522 MB / 0.6259 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.00968, allocations: 282.1 kB / 0.6262 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009681, allocations: 0 / 0.6262 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.009707, allocations: 16 kB / 0.6262 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.009872, allocations: 23.17 kB / 0.6262 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.0114, allocations: 2.168 MB / 0.6283 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.897e-05/0.01146, allocations: 94.16 kB / 0.6284 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.01149, allocations: 12.97 kB / 0.6284 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.01153, allocations: 40.48 kB / 0.6285 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.01154, allocations: 0 / 0.6285 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02859, allocations: 4.368 MB / 0.6327 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.897, allocations: 5.797 kB / 0.6327 GB, free: 13.06 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_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_BooleanExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.942958192899823] Failed to read output from testmodel.py, exit status != 0: 6.982580994255841 7.264580125 6.98761004 Calling exit ...