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.0007699/0.0007699, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0007791/0.0007791, allocations: 162.3 kB / 22.43 MB, free: 2.145 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.8221/0.8221, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6803/0.6803, allocations: 155 MB / 414.2 MB, free: 472 kB / 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: 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.0009763/0.0009763, allocations: 69 kB / 0.6186 GB, free: 13.21 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4107, allocations: 102 MB / 0.7182 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001502/0.4122, allocations: 0.6826 MB / 0.7189 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.4134, allocations: 1.275 MB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.4135, allocations: 5.344 kB / 0.7202 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.4136, allocations: 15.59 kB / 0.7202 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.4137, allocations: 16.61 kB / 0.7202 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.4143, allocations: 251 kB / 0.7204 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.4145, allocations: 250.4 kB / 0.7207 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4146, allocations: 20.73 kB / 0.7207 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.4148, allocations: 143.1 kB / 0.7208 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.4149, allocations: 74.86 kB / 0.7209 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.415, allocations: 19.41 kB / 0.7209 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.415, allocations: 39.14 kB / 0.721 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.4151, allocations: 35.23 kB / 0.721 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.4152, allocations: 80.12 kB / 0.7211 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.4155, allocations: 265.6 kB / 0.7213 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4155, allocations: 0 / 0.7213 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4155, allocations: 4 kB / 0.7213 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.4155, allocations: 0 / 0.7213 GB, free: 21.25 MB / 0.6355 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.0004155/0.4159, allocations: 442.1 kB / 0.7217 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4159, allocations: 11.81 kB / 0.7218 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.416, allocations: 48.88 kB / 0.7218 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.4162, allocations: 60.53 kB / 0.7219 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4165, allocations: 192.8 kB / 0.722 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4166, allocations: 13.97 kB / 0.7221 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.4166, allocations: 21.75 kB / 0.7221 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4167, allocations: 130.1 kB / 0.7222 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4167, allocations: 3.984 kB / 0.7222 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4167, allocations: 5.5 kB / 0.7222 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4168, allocations: 2.156 kB / 0.7222 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.4168, allocations: 54.27 kB / 0.7223 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.4172, allocations: 0.5991 MB / 0.7228 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.4173, allocations: 43.66 kB / 0.7229 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.4173, allocations: 22.67 kB / 0.7229 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.4173, allocations: 9.344 kB / 0.7229 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.4174, allocations: 90.58 kB / 0.723 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.4174, allocations: 0 / 0.723 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001897/0.4176, allocations: 104.4 kB / 0.7231 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4176, allocations: 83.66 kB / 0.7232 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.4177, allocations: 170.5 kB / 0.7233 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.4177, allocations: 34.45 kB / 0.7234 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.4178, allocations: 123.7 kB / 0.7235 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.4178, allocations: 19.25 kB / 0.7235 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.4179, allocations: 59.34 kB / 0.7236 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.009e-05/0.4179, allocations: 325 kB / 0.7239 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.418, allocations: 114 kB / 0.724 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4181, allocations: 227.4 kB / 0.7242 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.4182, allocations: 171.5 kB / 0.7244 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4182, allocations: 0 / 0.7244 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002648/0.4185, allocations: 335.7 kB / 0.7247 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.4185, allocations: 67.97 kB / 0.7248 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4185, allocations: 2.328 kB / 0.7248 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4185, allocations: 2.438 kB / 0.7248 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.437e-05/0.4186, allocations: 3.891 kB / 0.7248 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4186, allocations: 10.97 kB / 0.7248 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.4188, allocations: 60.62 kB / 0.7248 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4188, allocations: 16.67 kB / 0.7249 GB, free: 18.24 MB / 0.6355 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 7.059e-05/0.4188, allocations: 140.1 kB / 0.725 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.4189, allocations: 12.52 kB / 0.725 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.4189, allocations: 14.95 kB / 0.725 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4189, allocations: 5.141 kB / 0.725 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4189, allocations: 0.75 kB / 0.725 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4189, allocations: 5.062 kB / 0.725 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.578e-05/0.419, allocations: 171.6 kB / 0.7252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.419, allocations: 1.891 kB / 0.7252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-06/0.419, allocations: 5.094 kB / 0.7252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.419, allocations: 1.859 kB / 0.7252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.419, allocations: 1.953 kB / 0.7252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.419, allocations: 1.156 kB / 0.7252 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.419, allocations: 5 kB / 0.7252 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.4191, allocations: 121.9 kB / 0.7253 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.4191, allocations: 7.141 kB / 0.7253 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.4191, allocations: 1.906 kB / 0.7253 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.4191, allocations: 11.16 kB / 0.7253 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.4192, allocations: 7.953 kB / 0.7253 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4192, allocations: 4.719 kB / 0.7253 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.4192, allocations: 118.8 kB / 0.7255 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4192, allocations: 3.938 kB / 0.7255 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001714/0.4194, allocations: 42.22 kB / 0.7255 GB, free: 17.7 MB / 0.6355 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.0001943/0.4196, allocations: 0.6489 MB / 0.7261 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.4198, allocations: 277.6 kB / 0.7264 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4198, allocations: 1.406 kB / 0.7264 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.4198, allocations: 18.72 kB / 0.7264 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.42, allocations: 18.39 kB / 0.7264 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4213, allocations: 2.183 MB / 0.7286 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.174e-05/0.4213, allocations: 99.34 kB / 0.7287 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.4214, allocations: 10.17 kB / 0.7287 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.4214, allocations: 42.95 kB / 0.7287 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4214, allocations: 0 / 0.7287 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.437, allocations: 4.373 MB / 0.733 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/7.195, allocations: 15.42 kB / 0.733 GB, free: 13.79 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.697170177008957] Failed to read output from testmodel.py, exit status != 0: 7.2717041270807385 7.280509342 6.862869821 Calling exit ...