Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008538/0.0008538, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001625/0.001625, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8947/0.8947, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7711/0.7711, allocations: 154.6 MB / 413.8 MB, free: 0.7852 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.472e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001294/0.001319, allocations: 0.6808 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.002575, allocations: 1.287 MB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.002625, allocations: 3.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.802e-05/0.002723, allocations: 11.86 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.202e-05/0.002765, allocations: 15.88 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.003324, allocations: 245.3 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.003555, allocations: 251.5 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.003681, allocations: 19.98 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.003824, allocations: 139.8 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.003951, allocations: 71.83 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.003983, allocations: 20 kB / 0.6208 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.004067, allocations: 43.91 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.004124, allocations: 27.92 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.004197, allocations: 67.81 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.004446, allocations: 271.2 kB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004449, allocations: 0 / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.004451, allocations: 4 kB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.004456, allocations: 4 kB / 0.6212 GB, free: 10.53 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004799/0.004936, allocations: 429.1 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.004976, allocations: 8.031 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.005007, allocations: 38.75 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.005284, allocations: 60.8 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.005625, allocations: 197.7 kB / 0.6219 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.005642, allocations: 12.38 kB / 0.6219 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.005665, allocations: 20.31 kB / 0.6219 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.005823, allocations: 135.8 kB / 0.622 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005832, allocations: 4.172 kB / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.005843, allocations: 4.375 kB / 0.622 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005849, allocations: 7.938 kB / 0.622 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.005909, allocations: 51.91 kB / 0.6221 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.006365, allocations: 0.5979 MB / 0.6227 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.006414, allocations: 33.22 kB / 0.6227 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.006434, allocations: 25.7 kB / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.006441, allocations: 0 / 0.6227 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.006593, allocations: 93.05 kB / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.006594, allocations: 0 / 0.6228 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0001947/0.006789, allocations: 105.5 kB / 0.6229 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.006832, allocations: 81.09 kB / 0.623 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.00723, allocations: 173.6 kB / 0.6232 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.007254, allocations: 33.7 kB / 0.6232 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.007326, allocations: 132 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.007337, allocations: 15.91 kB / 0.6233 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.007402, allocations: 53.69 kB / 0.6234 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.007492, allocations: 330.8 kB / 0.6237 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.007606, allocations: 115.3 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.007738, allocations: 235.3 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.007872, allocations: 178.1 kB / 0.6242 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007874, allocations: 0 / 0.6242 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.008153, allocations: 328.2 kB / 0.6245 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.008198, allocations: 71.33 kB / 0.6246 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.008203, allocations: 3.938 kB / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.008215, allocations: 4 kB / 0.6246 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.548e-05/0.008231, allocations: 4 kB / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.008237, allocations: 0 / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.008414, allocations: 64.14 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.008432, allocations: 11.98 kB / 0.6247 GB, free: 6.543 MB / 0.5886 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.657e-05/0.008519, allocations: 142.7 kB / 0.6248 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.00853, allocations: 12.33 kB / 0.6248 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.008562, allocations: 20.27 kB / 0.6248 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.008564, allocations: 0 / 0.6248 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.00857, allocations: 11.92 kB / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008574, allocations: 0 / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.008676, allocations: 176.7 kB / 0.625 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008677, allocations: 0 / 0.625 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.008681, allocations: 0 / 0.625 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.008685, allocations: 4 kB / 0.625 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.008694, allocations: 7.922 kB / 0.625 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008696, allocations: 0 / 0.625 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008698, allocations: 0 / 0.625 GB, free: 6.121 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.008804, allocations: 113.9 kB / 0.6251 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.008814, allocations: 11.94 kB / 0.6251 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.008827, allocations: 7.938 kB / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.008841, allocations: 0 / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.008866, allocations: 11.98 kB / 0.6252 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.008871, allocations: 4 kB / 0.6252 GB, free: 5.953 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.008925, allocations: 116.3 kB / 0.6253 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008925, allocations: 0 / 0.6253 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001738/0.009099, allocations: 39.89 kB / 0.6253 GB, free: 5.801 MB / 0.5886 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.0003055/0.009404, allocations: 0.6597 MB / 0.626 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.009649, allocations: 266.1 kB / 0.6262 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00965, allocations: 4.5 kB / 0.6262 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.009675, allocations: 19.92 kB / 0.6262 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.009859, allocations: 30.36 kB / 0.6263 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.01141, allocations: 2.152 MB / 0.6284 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.428e-05/0.01148, allocations: 97.77 kB / 0.6285 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.01151, allocations: 16.97 kB / 0.6285 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.01155, allocations: 36.5 kB / 0.6285 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/0.01155, allocations: 0 / 0.6285 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.03191, allocations: 4.361 MB / 0.6328 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.106, allocations: 4.781 kB / 0.6328 GB, free: 14.1 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.946419576182961] Failed to read output from testmodel.py, exit status != 0: 7.18839802686125 7.197528961 7.191274073 Calling exit ...