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.0007517/0.0007517, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0007879/0.0007879, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9405/0.9405, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7222/0.7222, allocations: 154.5 MB / 413.7 MB, free: 0.8125 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: Performance of FrontEnd - loaded program: time 2.776e-06/2.776e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.108e-05, allocations: 8.016 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001481/0.001512, allocations: 0.837 MB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.002893, allocations: 1.322 MB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.002955, allocations: 0 / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.003064, allocations: 11.81 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.003136, allocations: 43.7 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.003727, allocations: 269.8 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.004017, allocations: 327.4 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004152, allocations: 40.5 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.004336, allocations: 183.7 kB / 0.621 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.004471, allocations: 87.75 kB / 0.6211 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.00451, allocations: 31.94 kB / 0.6211 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.004604, allocations: 55.91 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.004665, allocations: 39.84 kB / 0.6212 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.004753, allocations: 91.81 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.0051, allocations: 386.9 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005103, allocations: 4 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.005104, allocations: 3.938 kB / 0.6217 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.00511, allocations: 0 / 0.6217 GB, free: 10.01 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.0005627/0.005672, allocations: 480.7 kB / 0.6221 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.005713, allocations: 9.469 kB / 0.6221 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.005747, allocations: 46.73 kB / 0.6222 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.00601, allocations: 68.75 kB / 0.6222 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003939/0.006404, allocations: 226.2 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.006423, allocations: 16.38 kB / 0.6225 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.00645, allocations: 24.31 kB / 0.6225 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.006638, allocations: 149.1 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006648, allocations: 192 / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.006661, allocations: 8.359 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.006667, allocations: 7.938 kB / 0.6226 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.006756, allocations: 67.91 kB / 0.6227 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.007332, allocations: 0.6718 MB / 0.6234 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.007423, allocations: 57.3 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.007449, allocations: 29.7 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.007461, allocations: 3.938 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.007639, allocations: 105 kB / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.00764, allocations: 0 / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002365/0.007877, allocations: 125.8 kB / 0.6237 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.00792, allocations: 89.09 kB / 0.6238 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.008068, allocations: 212.8 kB / 0.624 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.008095, allocations: 33.64 kB / 0.624 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.008182, allocations: 152.2 kB / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.008195, allocations: 19.91 kB / 0.6242 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.008273, allocations: 61.67 kB / 0.6242 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.008361, allocations: 326.8 kB / 0.6245 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.0085, allocations: 127.4 kB / 0.6246 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.008654, allocations: 239.4 kB / 0.6249 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.008821, allocations: 202.2 kB / 0.6251 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.008829, allocations: 0 / 0.6251 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003665/0.009195, allocations: 372 kB / 0.6254 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.00924, allocations: 63.41 kB / 0.6255 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.009248, allocations: 4 kB / 0.6255 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.009262, allocations: 0 / 0.6255 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.00932, allocations: 11.98 kB / 0.6255 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.009328, allocations: 7.938 kB / 0.6255 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.009516, allocations: 64.02 kB / 0.6256 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.009539, allocations: 15.98 kB / 0.6256 GB, free: 5.586 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.0001192/0.009658, allocations: 141.8 kB / 0.6257 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.009677, allocations: 19.84 kB / 0.6257 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.00972, allocations: 13.03 kB / 0.6257 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009723, allocations: 4 kB / 0.6258 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.009731, allocations: 3.984 kB / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.009737, allocations: 4 kB / 0.6258 GB, free: 5.391 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.009893, allocations: 196.6 kB / 0.6259 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.009897, allocations: 3.938 kB / 0.6259 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.009917, allocations: 11.92 kB / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009921, allocations: 0 / 0.626 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.009929, allocations: 4 kB / 0.626 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.009932, allocations: 4 kB / 0.626 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.009933, allocations: 0 / 0.626 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.01007, allocations: 125.9 kB / 0.6261 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.0101, allocations: 23.8 kB / 0.6261 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.01011, allocations: 7.984 kB / 0.6261 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.377e-05/0.01014, allocations: 4 kB / 0.6261 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.01017, allocations: 4 kB / 0.6261 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.01018, allocations: 7.984 kB / 0.6261 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001003/0.01028, allocations: 145.5 kB / 0.6263 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 4 kB / 0.6263 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002225/0.0105, allocations: 43.88 kB / 0.6263 GB, free: 4.754 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.0004557/0.01096, allocations: 0.6757 MB / 0.627 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.0113, allocations: 310.1 kB / 0.6273 GB, free: 3.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.0113, allocations: 3.938 kB / 0.6273 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.01133, allocations: 23.98 kB / 0.6273 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.01154, allocations: 31.98 kB / 0.6273 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.01369, allocations: 2.444 MB / 0.6297 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.0138, allocations: 119.5 kB / 0.6298 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.722e-05/0.01388, allocations: 29.45 kB / 0.6299 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.01395, allocations: 52.48 kB / 0.6299 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.01395, allocations: 0 / 0.6299 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.03225, allocations: 5.186 MB / 0.635 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.969, allocations: 5.125 kB / 0.635 GB, free: 11.85 MB / 0.6042 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.714878166094422] Failed to read output from testmodel.py, exit status != 0: 7.058291271328926 7.07189334 7.064223431 Calling exit ...