Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.0007726/0.0007726, 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.0008457/0.0008457, allocations: 162 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.8919/0.8919, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7005/0.7005, allocations: 155 MB / 414.2 MB, free: 0.5 MB / 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.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.000803/0.000803, allocations: 68 kB / 0.6187 GB, free: 13.31 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.4966/0.4974, allocations: 102 MB / 0.7182 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00159/0.499, allocations: 0.8386 MB / 0.7191 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.5004, allocations: 1.316 MB / 0.7203 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.5004, allocations: 1.469 kB / 0.7203 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.5006, allocations: 20.31 kB / 0.7204 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.5006, allocations: 38.16 kB / 0.7204 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.5014, allocations: 263.2 kB / 0.7207 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.5018, allocations: 339.9 kB / 0.721 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.5019, allocations: 36.98 kB / 0.721 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.5021, allocations: 188.7 kB / 0.7212 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.5023, allocations: 99.59 kB / 0.7213 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.5023, allocations: 29.94 kB / 0.7213 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.5024, allocations: 45.41 kB / 0.7214 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.5025, allocations: 41.03 kB / 0.7214 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.5026, allocations: 114.7 kB / 0.7215 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.503, allocations: 394 kB / 0.7219 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.503, allocations: 3.938 kB / 0.7219 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/0.503, allocations: 0 / 0.7219 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.503, allocations: 1.125 kB / 0.7219 GB, free: 20.93 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005874/0.5036, allocations: 491.1 kB / 0.7224 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5036, allocations: 11.67 kB / 0.7224 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.5037, allocations: 45.72 kB / 0.7224 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.504, allocations: 74.36 kB / 0.7225 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.5044, allocations: 227 kB / 0.7227 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.5044, allocations: 14.58 kB / 0.7227 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.5044, allocations: 19.3 kB / 0.7227 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.5046, allocations: 151.2 kB / 0.7229 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.5046, allocations: 1.094 kB / 0.7229 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5046, allocations: 5.859 kB / 0.7229 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5046, allocations: 3.406 kB / 0.7229 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.138e-05/0.5047, allocations: 71.14 kB / 0.723 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.5053, allocations: 0.6792 MB / 0.7236 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.5053, allocations: 62.08 kB / 0.7237 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.5054, allocations: 25.67 kB / 0.7237 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.5054, allocations: 2.062 kB / 0.7237 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.5056, allocations: 109.7 kB / 0.7238 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.5056, allocations: 0 / 0.7238 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002368/0.5058, allocations: 129.9 kB / 0.7239 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.5059, allocations: 80.94 kB / 0.724 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.506, allocations: 220 kB / 0.7242 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.506, allocations: 34.95 kB / 0.7243 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.5061, allocations: 139.6 kB / 0.7244 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.5061, allocations: 16.17 kB / 0.7244 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.5062, allocations: 62.88 kB / 0.7245 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.5062, allocations: 332.9 kB / 0.7248 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.5064, allocations: 127.1 kB / 0.7249 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.5065, allocations: 245.7 kB / 0.7251 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.5066, allocations: 199 kB / 0.7253 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5066, allocations: 1.281 kB / 0.7253 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003273/0.507, allocations: 363.9 kB / 0.7257 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.507, allocations: 64.72 kB / 0.7257 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.507, allocations: 1.469 kB / 0.7257 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.507, allocations: 3.375 kB / 0.7257 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.5071, allocations: 12.44 kB / 0.7258 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.5071, allocations: 7.5 kB / 0.7258 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5073, allocations: 59.38 kB / 0.7258 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.5073, allocations: 17.86 kB / 0.7258 GB, free: 17.7 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: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.000104/0.5074, allocations: 147.9 kB / 0.726 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.5074, allocations: 20.83 kB / 0.726 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.5075, allocations: 15.75 kB / 0.726 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5075, allocations: 0.9375 kB / 0.726 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5075, allocations: 5.078 kB / 0.726 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.5075, allocations: 1.922 kB / 0.726 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.5076, allocations: 198.7 kB / 0.7262 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5076, allocations: 0.6562 kB / 0.7262 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.5076, allocations: 9.172 kB / 0.7262 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5076, allocations: 1.25 kB / 0.7262 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5076, allocations: 9.766 kB / 0.7262 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5076, allocations: 5.719 kB / 0.7262 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5076, allocations: 1.062 kB / 0.7262 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.5078, allocations: 140.3 kB / 0.7264 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.5078, allocations: 16.61 kB / 0.7264 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.5078, allocations: 2.547 kB / 0.7264 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.5078, allocations: 1.5 kB / 0.7264 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.5078, allocations: 10.19 kB / 0.7264 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.5079, allocations: 3.688 kB / 0.7264 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.5079, allocations: 146 kB / 0.7265 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5079, allocations: 0 / 0.7265 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001952/0.5081, allocations: 44.42 kB / 0.7266 GB, free: 17.12 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002499/0.5084, allocations: 0.6884 MB / 0.7273 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.5086, allocations: 297.1 kB / 0.7275 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5086, allocations: 1.719 kB / 0.7275 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.5087, allocations: 22.62 kB / 0.7276 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.5089, allocations: 40.62 kB / 0.7276 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.5106, allocations: 2.436 MB / 0.73 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.639e-05/0.5106, allocations: 112.9 kB / 0.7301 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.269e-05/0.5107, allocations: 24.02 kB / 0.7301 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.5108, allocations: 57.41 kB / 0.7302 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.5108, allocations: 1.281 kB / 0.7302 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.5349, allocations: 5.208 MB / 0.7352 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/7.184, allocations: 4.938 kB / 0.7353 GB, free: 12.98 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.848123315954581] Failed to read output from testmodel.py, exit status != 0: 7.261673470959067 7.274785562 6.7698306 Calling exit ...