Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008495/0.0008495, 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.0009425/0.0009425, 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.9303/0.9303, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7372/0.7372, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.546e-06/3.546e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.251e-05, allocations: 6 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00191/0.001943, allocations: 0.9422 MB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.003425, allocations: 1.369 MB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.003508, allocations: 4 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.003627, allocations: 23.73 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.744e-05/0.003715, allocations: 43.59 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.004381, allocations: 281.2 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.004725, allocations: 383.2 kB / 0.6211 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.004892, allocations: 49.77 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.00511, allocations: 219.6 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.005245, allocations: 99.73 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.005284, allocations: 36 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.005374, allocations: 47.98 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.005449, allocations: 67.75 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.005537, allocations: 99.8 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.005886, allocations: 442.7 kB / 0.6221 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005888, allocations: 0 / 0.6221 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.302e-06/0.00589, allocations: 0 / 0.6221 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.005895, allocations: 0 / 0.6221 GB, free: 9.59 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.0006674/0.006563, allocations: 0.5433 MB / 0.6226 GB, free: 9 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.006597, allocations: 12.03 kB / 0.6226 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.006633, allocations: 46.73 kB / 0.6227 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.006894, allocations: 76.7 kB / 0.6227 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.007407, allocations: 304.8 kB / 0.623 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.00743, allocations: 12.38 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.00746, allocations: 20.38 kB / 0.623 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.007739, allocations: 206.4 kB / 0.6232 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.007747, allocations: 8.062 kB / 0.6233 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.00776, allocations: 4.375 kB / 0.6233 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.007768, allocations: 11.94 kB / 0.6233 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.008006, allocations: 135.8 kB / 0.6234 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.00872, allocations: 0.8166 MB / 0.6242 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.008901, allocations: 149 kB / 0.6243 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.009017, allocations: 84.23 kB / 0.6244 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.00903, allocations: 4 kB / 0.6244 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.009283, allocations: 167.5 kB / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.009284, allocations: 0 / 0.6246 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0004993/0.009784, allocations: 261.3 kB / 0.6248 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.009844, allocations: 158.2 kB / 0.625 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.009996, allocations: 225.7 kB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.01002, allocations: 37.7 kB / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.0101, allocations: 152.8 kB / 0.6254 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.01013, allocations: 35.73 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.0102, allocations: 57.69 kB / 0.6255 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/0.01028, allocations: 326.8 kB / 0.6258 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.01048, allocations: 171.3 kB / 0.6259 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.01073, allocations: 283.2 kB / 0.6262 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.01103, allocations: 282.9 kB / 0.6265 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01103, allocations: 0 / 0.6265 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004697/0.0115, allocations: 443.9 kB / 0.6269 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.01154, allocations: 75.55 kB / 0.627 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01155, allocations: 0 / 0.627 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.01156, allocations: 4 kB / 0.627 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.01165, allocations: 31.91 kB / 0.627 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01166, allocations: 0 / 0.627 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.01185, allocations: 71.91 kB / 0.6271 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.01187, allocations: 16 kB / 0.6271 GB, free: 3.969 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.0001045/0.01198, allocations: 154.7 kB / 0.6272 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.012, allocations: 23.8 kB / 0.6273 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.01203, allocations: 25.33 kB / 0.6273 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01204, allocations: 0 / 0.6273 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.01204, allocations: 4 kB / 0.6273 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01205, allocations: 0 / 0.6273 GB, free: 3.754 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.0122, allocations: 216.6 kB / 0.6275 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0122, allocations: 11.98 kB / 0.6275 GB, free: 3.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.01226, allocations: 19.98 kB / 0.6275 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01227, allocations: 4 kB / 0.6275 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01228, allocations: 3.984 kB / 0.6275 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.01228, allocations: 7.938 kB / 0.6275 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01228, allocations: 0 / 0.6275 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.01258, allocations: 244.6 kB / 0.6278 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.0126, allocations: 11.91 kB / 0.6278 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01262, allocations: 11.98 kB / 0.6278 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.01268, allocations: 19.97 kB / 0.6278 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.01273, allocations: 19.92 kB / 0.6278 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.01273, allocations: 4 kB / 0.6278 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.111e-05/0.01282, allocations: 165.2 kB / 0.628 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01282, allocations: 4 kB / 0.628 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001997/0.01302, allocations: 51.88 kB / 0.6281 GB, free: 2.902 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.0005355/0.01356, allocations: 0.7678 MB / 0.6288 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.01402, allocations: 381.9 kB / 0.6292 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01402, allocations: 3.938 kB / 0.6292 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.01416, allocations: 80.42 kB / 0.6293 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.01439, allocations: 50.69 kB / 0.6293 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.01689, allocations: 2.831 MB / 0.6321 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.626e-05/0.01697, allocations: 132.8 kB / 0.6322 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.01706, allocations: 41.61 kB / 0.6322 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.01713, allocations: 60.48 kB / 0.6323 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.01713, allocations: 4 kB / 0.6323 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.0349, allocations: 6.206 MB / 0.6384 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/6.962, allocations: 6 kB / 0.6384 GB, free: 8.289 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.829463145695627] Failed to read output from testmodel.py, exit status != 0: 7.0481970170512795 7.058449666 7.049913408 Calling exit ...