Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006911/0.0006911, 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.0007809/0.0007809, allocations: 170.3 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.8689/0.8689, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7359/0.7359, 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.IntegerExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.546e-05, allocations: 3.188 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001546/0.001571, allocations: 0.835 MB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.003109, allocations: 1.322 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.003183, allocations: 0 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.0033, allocations: 19.73 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.003382, allocations: 43.72 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.004078, allocations: 267.1 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.004415, allocations: 327.4 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.00456, allocations: 41.64 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.004749, allocations: 187.7 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.004889, allocations: 83.81 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.004927, allocations: 31.94 kB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.005025, allocations: 51.97 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.00509, allocations: 43.8 kB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.542e-05/0.005175, allocations: 91.8 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.005507, allocations: 391 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005509, allocations: 0 / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.005511, allocations: 3.938 kB / 0.6217 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.005516, allocations: 0 / 0.6217 GB, free: 9.934 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005595/0.006076, allocations: 480.7 kB / 0.6222 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.006113, allocations: 8.031 kB / 0.6222 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.006145, allocations: 42.75 kB / 0.6222 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002413/0.006387, allocations: 68.75 kB / 0.6223 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.006779, allocations: 233.5 kB / 0.6225 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.0068, allocations: 12.38 kB / 0.6225 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.006828, allocations: 28.3 kB / 0.6225 GB, free: 9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.00701, allocations: 141.6 kB / 0.6227 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.007018, allocations: 192 / 0.6227 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.00703, allocations: 4.375 kB / 0.6227 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.007036, allocations: 7.938 kB / 0.6227 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.007122, allocations: 67.91 kB / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.007676, allocations: 0.6719 MB / 0.6234 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.007753, allocations: 61.3 kB / 0.6235 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.007778, allocations: 21.72 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.007789, allocations: 3.938 kB / 0.6235 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.00796, allocations: 112.9 kB / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.007961, allocations: 0 / 0.6236 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002155/0.008177, allocations: 125.5 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.008215, allocations: 89.09 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.008358, allocations: 220.7 kB / 0.624 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.008381, allocations: 29.7 kB / 0.6241 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.008458, allocations: 144.3 kB / 0.6242 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.00847, allocations: 15.91 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.008543, allocations: 61.67 kB / 0.6243 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.008624, allocations: 326.8 kB / 0.6246 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.008747, allocations: 127.4 kB / 0.6247 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.008917, allocations: 243.3 kB / 0.6249 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.009077, allocations: 206.2 kB / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.00908, allocations: 0 / 0.6251 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003294/0.009409, allocations: 364.1 kB / 0.6255 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.00945, allocations: 67.39 kB / 0.6255 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.009456, allocations: 4 kB / 0.6255 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.009469, allocations: 3.938 kB / 0.6255 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.009521, allocations: 8 kB / 0.6256 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.00953, allocations: 12.12 kB / 0.6256 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.009707, allocations: 59.83 kB / 0.6256 GB, free: 5.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.009727, allocations: 15.98 kB / 0.6256 GB, free: 5.516 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: 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.0001021/0.009829, allocations: 141.8 kB / 0.6258 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.009846, allocations: 19.84 kB / 0.6258 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.009885, allocations: 17.02 kB / 0.6258 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.009886, allocations: 4 kB / 0.6258 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.009891, allocations: 0 / 0.6258 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.009895, allocations: 4 kB / 0.6258 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.01002, allocations: 196.7 kB / 0.626 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01003, allocations: 3.938 kB / 0.626 GB, free: 5.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.01004, allocations: 7.938 kB / 0.626 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01004, allocations: 0 / 0.626 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01005, allocations: 4 kB / 0.626 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01005, allocations: 4 kB / 0.626 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01005, allocations: 0 / 0.626 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.01018, allocations: 137.9 kB / 0.6262 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.0102, allocations: 19.8 kB / 0.6262 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.01021, allocations: 4 kB / 0.6262 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.01023, allocations: 4 kB / 0.6262 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.01025, allocations: 7.984 kB / 0.6262 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.01026, allocations: 4 kB / 0.6262 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.01034, allocations: 149.4 kB / 0.6263 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01034, allocations: 4 kB / 0.6263 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000186/0.01053, allocations: 43.88 kB / 0.6264 GB, free: 4.684 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: 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.0003549/0.01088, allocations: 0.6873 MB / 0.627 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01116, allocations: 302.6 kB / 0.6273 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01116, allocations: 0 / 0.6273 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.0112, allocations: 23.98 kB / 0.6274 GB, free: 3.609 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.0114, allocations: 39.17 kB / 0.6274 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.0132, allocations: 2.44 MB / 0.6298 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.844e-05/0.01327, allocations: 115.6 kB / 0.6299 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.664e-05/0.01333, allocations: 25.47 kB / 0.6299 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.01339, allocations: 52.48 kB / 0.63 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01339, allocations: 0 / 0.63 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.03514, allocations: 5.18 MB / 0.635 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/6.709, allocations: 10.81 kB / 0.635 GB, free: 11.78 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.36662063933909] Failed to read output from testmodel.py, exit status != 0: 6.789934855885804 6.797182431 6.789882518 Calling exit ...