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.001018/0.001018, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.00134/0.00134, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9519/0.9519, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.7939/0.7939, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [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: 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.001264/0.001264, allocations: 71.89 kB / 0.7178 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5355/0.5368, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001498/0.5383, allocations: 0.6904 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.5395, allocations: 1.269 MB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.5396, allocations: 2.562 kB / 0.8193 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.5397, allocations: 11.16 kB / 0.8193 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.5398, allocations: 20.81 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.5404, allocations: 238.7 kB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.5407, allocations: 247.2 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.5409, allocations: 32.61 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.541, allocations: 105.1 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.5412, allocations: 76.59 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.5412, allocations: 19.31 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.5413, allocations: 31.7 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.5414, allocations: 35.47 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.5415, allocations: 79.62 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.5418, allocations: 237 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5418, allocations: 4 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5418, allocations: 2.438 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.5418, allocations: 0 / 0.8204 GB, free: 15.43 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.0005764/0.5424, allocations: 436 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.5424, allocations: 10.22 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.5425, allocations: 42.06 kB / 0.8209 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.5428, allocations: 52.7 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006337/0.5434, allocations: 196.1 kB / 0.8211 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5434, allocations: 11 kB / 0.8211 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.5434, allocations: 21.84 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.5436, allocations: 130.6 kB / 0.8212 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5436, allocations: 3.938 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5436, allocations: 1.969 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5436, allocations: 5.125 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.5437, allocations: 47.81 kB / 0.8213 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005162/0.5442, allocations: 0.6063 MB / 0.8219 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.5443, allocations: 40.61 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.5443, allocations: 21.27 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.5443, allocations: 5.625 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.5445, allocations: 94.75 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.5445, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002253/0.5447, allocations: 102.9 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5448, allocations: 78.58 kB / 0.8222 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.5449, allocations: 173.7 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.545, allocations: 32.58 kB / 0.8224 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.545, allocations: 123.1 kB / 0.8225 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.545, allocations: 22.59 kB / 0.8226 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.5451, allocations: 58.59 kB / 0.8226 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.5452, allocations: 321.6 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.5453, allocations: 114.6 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.5455, allocations: 226.1 kB / 0.8232 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.5456, allocations: 178.9 kB / 0.8234 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5456, allocations: 9.531 kB / 0.8234 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003324/0.546, allocations: 331 kB / 0.8237 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.546, allocations: 63.31 kB / 0.8238 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.546, allocations: 2.188 kB / 0.8238 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.546, allocations: 2.594 kB / 0.8238 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.546, allocations: 3.875 kB / 0.8238 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.546, allocations: 2.969 kB / 0.8238 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.5462, allocations: 65.48 kB / 0.8239 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.5463, allocations: 11.88 kB / 0.8239 GB, free: 12.43 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.0001011/0.5464, allocations: 139.4 kB / 0.824 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.5464, allocations: 14.03 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.5464, allocations: 13.91 kB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5464, allocations: 1.438 kB / 0.824 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5464, allocations: 5.078 kB / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5464, allocations: 1.375 kB / 0.8241 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.5466, allocations: 174.8 kB / 0.8242 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5466, allocations: 2.562 kB / 0.8242 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-06/0.5466, allocations: 1.656 kB / 0.8242 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5466, allocations: 0 / 0.8242 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.5466, allocations: 11.62 kB / 0.8242 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5466, allocations: 0 / 0.8242 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5466, allocations: 1.719 kB / 0.8242 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.5467, allocations: 120.7 kB / 0.8244 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.5467, allocations: 11.45 kB / 0.8244 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5467, allocations: 10.41 kB / 0.8244 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.5467, allocations: 1.688 kB / 0.8244 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.5468, allocations: 5.812 kB / 0.8244 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.5468, allocations: 3.859 kB / 0.8244 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.37e-05/0.5469, allocations: 117.6 kB / 0.8245 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5469, allocations: 0 / 0.8245 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000199/0.5471, allocations: 39.38 kB / 0.8245 GB, free: 11.89 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.0003656/0.5474, allocations: 0.6591 MB / 0.8252 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.5477, allocations: 273.8 kB / 0.8254 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5477, allocations: 0 / 0.8254 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.5478, allocations: 18.05 kB / 0.8255 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.548, allocations: 28.22 kB / 0.8255 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.5498, allocations: 2.166 MB / 0.8276 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.5499, allocations: 106.4 kB / 0.8277 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.55, allocations: 11.7 kB / 0.8277 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.55, allocations: 36.61 kB / 0.8277 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.55, allocations: 3.938 kB / 0.8277 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.5728, allocations: 4.236 MB / 0.8319 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/7.22, allocations: 2.5 kB / 0.8319 GB, free: 8.023 MB / 0.6198 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: 10.323639572132379] Failed to read output from testmodel.py, exit status != 0: 7.304223076906055 7.316825746 6.772995811 Calling exit ...