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.0008389/0.0008389, 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.0009032/0.0009032, allocations: 217.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.9756/0.9756, allocations: 230.6 MB / 256 MB, free: 9.812 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.8153/0.8153, allocations: 203.8 MB / 0.5041 GB, free: 10.75 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.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: 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.001171/0.001171, allocations: 64.53 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.497, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001607/0.4986, allocations: 0.7123 MB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4997, allocations: 1.299 MB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.4998, allocations: 0 / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.4999, allocations: 13.64 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.5, allocations: 16.62 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.5006, allocations: 241.9 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.5009, allocations: 245.5 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.5011, allocations: 32.11 kB / 0.8203 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.5012, allocations: 102.9 kB / 0.8204 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.5014, allocations: 85.91 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.5014, allocations: 17.28 kB / 0.8205 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.5016, allocations: 44.53 kB / 0.8206 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.5016, allocations: 38.92 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.5019, allocations: 87.45 kB / 0.8207 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.5022, allocations: 233.8 kB / 0.8209 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5022, allocations: 3.938 kB / 0.8209 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5022, allocations: 0 / 0.8209 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5022, allocations: 4 kB / 0.8209 GB, free: 15.36 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004956/0.5027, allocations: 442.9 kB / 0.8214 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5028, allocations: 9.062 kB / 0.8214 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.5028, allocations: 42.94 kB / 0.8214 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.5031, allocations: 51.45 kB / 0.8215 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.5035, allocations: 197.3 kB / 0.8216 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5035, allocations: 7.594 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.5035, allocations: 21.97 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.5037, allocations: 127.1 kB / 0.8218 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5037, allocations: 6.984 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5037, allocations: 4 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5037, allocations: 4.375 kB / 0.8218 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.5038, allocations: 45.05 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.5043, allocations: 0.6394 MB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.5044, allocations: 35.3 kB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.5044, allocations: 26.5 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.5044, allocations: 4.938 kB / 0.8225 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.5046, allocations: 89.83 kB / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.5046, allocations: 0 / 0.8226 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002186/0.5048, allocations: 103.5 kB / 0.8227 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5049, allocations: 83.61 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.505, allocations: 170.8 kB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.505, allocations: 33.77 kB / 0.823 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.5051, allocations: 126.6 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.5051, allocations: 13.58 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.5052, allocations: 60.56 kB / 0.8232 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.5053, allocations: 325.3 kB / 0.8235 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.5053, allocations: 50.23 kB / 0.8235 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5055, allocations: 116.9 kB / 0.8237 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.5056, allocations: 176.7 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5056, allocations: 1.344 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003397/0.506, allocations: 270.3 kB / 0.8241 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.506, allocations: 69.11 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.506, allocations: 1.406 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.506, allocations: 2.75 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.5061, allocations: 4.328 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5061, allocations: 2.969 kB / 0.8242 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.5063, allocations: 60.56 kB / 0.8242 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.5063, allocations: 16.95 kB / 0.8242 GB, free: 12.62 MB / 0.6198 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 0.0001137/0.5064, allocations: 144.8 kB / 0.8244 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.5064, allocations: 13.94 kB / 0.8244 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.5065, allocations: 13.23 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5065, allocations: 1.688 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5065, allocations: 4 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5065, allocations: 2.094 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.5066, allocations: 181.9 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5066, allocations: 1.125 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.5066, allocations: 6.531 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.5067, allocations: 0 / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5067, allocations: 2.5 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5067, allocations: 1.312 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5067, allocations: 0.625 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.5068, allocations: 119.3 kB / 0.8247 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.5068, allocations: 7.688 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.5068, allocations: 11.38 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.5068, allocations: 0.6562 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.5069, allocations: 5.219 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.5069, allocations: 3.406 kB / 0.8247 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.587e-05/0.5069, allocations: 118.7 kB / 0.8248 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5069, allocations: 6.531 kB / 0.8249 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001803/0.5071, allocations: 42.41 kB / 0.8249 GB, free: 12.07 MB / 0.6198 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.0003412/0.5075, allocations: 0.6561 MB / 0.8255 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.5077, allocations: 204.2 kB / 0.8257 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5077, allocations: 0 / 0.8257 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.5078, allocations: 22.98 kB / 0.8258 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.508, allocations: 21.83 kB / 0.8258 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.5101, allocations: 1.931 MB / 0.8277 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5103, allocations: 0.7117 MB / 0.8284 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.27e-05/0.5104, allocations: 11.58 kB / 0.8284 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.5104, allocations: 45.09 kB / 0.8284 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5104, allocations: 0 / 0.8284 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.5296, allocations: 3.645 MB / 0.832 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.446/6.976, allocations: 8.781 kB / 0.832 GB, free: 8.391 MB / 0.6198 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: 10.09123172890395] Failed to read output from testmodel.py, exit status != 0: 7.054827897110954 7.067413017 6.562965049 Calling exit ...