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.0008255/0.0008255, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009708/0.0009708, allocations: 218.7 kB / 22.25 MB, free: 3.57 MB / 13.93 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.9651/0.9651, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.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.7844/0.7844, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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: 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.000806/0.000806, allocations: 72.36 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.542/0.5428, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00175/0.5446, allocations: 0.8307 MB / 0.8182 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.5458, allocations: 1.326 MB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.5459, allocations: 2.844 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.546, allocations: 15.56 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.5461, allocations: 38.05 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.5468, allocations: 264.7 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.5471, allocations: 320.3 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.5473, allocations: 38.28 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.5475, allocations: 143 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.5476, allocations: 93.78 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.5477, allocations: 27.84 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.5478, allocations: 49.44 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.5479, allocations: 51.95 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.548, allocations: 92.36 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.5484, allocations: 355.2 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5484, allocations: 0 / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5484, allocations: 0 / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5484, allocations: 0 / 0.8209 GB, free: 15.09 MB / 0.6198 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.0005594/0.5489, allocations: 496 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.549, allocations: 12.2 kB / 0.8214 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.549, allocations: 43.44 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.5493, allocations: 60 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.5497, allocations: 235.3 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5497, allocations: 12.53 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.5497, allocations: 21.31 kB / 0.8217 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.55, allocations: 160.2 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.55, allocations: 7.938 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.55, allocations: 2.562 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.55, allocations: 3.156 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.28e-05/0.5501, allocations: 71.11 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.5507, allocations: 0.6722 MB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.5507, allocations: 56.14 kB / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.5508, allocations: 21.36 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.5508, allocations: 7.625 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.551, allocations: 106.8 kB / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.551, allocations: 0 / 0.8228 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002369/0.5512, allocations: 127.4 kB / 0.8229 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.5512, allocations: 79.67 kB / 0.823 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.5514, allocations: 214.5 kB / 0.8232 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5514, allocations: 34.89 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.5515, allocations: 144.9 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.5515, allocations: 20.44 kB / 0.8234 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.5516, allocations: 62.17 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.5517, allocations: 335.9 kB / 0.8238 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.5518, allocations: 128.3 kB / 0.8239 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.552, allocations: 249.2 kB / 0.8242 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.5521, allocations: 190.1 kB / 0.8243 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5521, allocations: 1.812 kB / 0.8243 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003659/0.5525, allocations: 365 kB / 0.8247 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.5526, allocations: 64.03 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5526, allocations: 1.375 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5526, allocations: 2.531 kB / 0.8248 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.5526, allocations: 17.03 kB / 0.8248 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5527, allocations: 7.938 kB / 0.8248 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.5528, allocations: 61.41 kB / 0.8248 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.5529, allocations: 12.83 kB / 0.8248 GB, free: 11.86 MB / 0.6198 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.0001114/0.553, allocations: 150.2 kB / 0.825 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.553, allocations: 14.81 kB / 0.825 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.553, allocations: 20.84 kB / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.553, allocations: 1.219 kB / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.553, allocations: 1.25 kB / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.5531, allocations: 4.656 kB / 0.825 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.5532, allocations: 207.5 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5532, allocations: 1.281 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/0.5532, allocations: 5.094 kB / 0.8252 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5532, allocations: 5.406 kB / 0.8252 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.5532, allocations: 1.828 kB / 0.8252 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5532, allocations: 2.016 kB / 0.8252 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5532, allocations: 0 / 0.8252 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.5534, allocations: 140.3 kB / 0.8254 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.5534, allocations: 16.89 kB / 0.8254 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.5534, allocations: 3.016 kB / 0.8254 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.5534, allocations: 6.641 kB / 0.8254 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.5534, allocations: 9.766 kB / 0.8254 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.5534, allocations: 4.672 kB / 0.8254 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.278e-05/0.5535, allocations: 149.7 kB / 0.8256 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5535, allocations: 0 / 0.8256 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001823/0.5537, allocations: 38.95 kB / 0.8256 GB, free: 11.28 MB / 0.6198 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.0003436/0.5541, allocations: 0.6839 MB / 0.8263 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.5543, allocations: 298.8 kB / 0.8265 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5544, allocations: 9.281 kB / 0.8266 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.5544, allocations: 30.95 kB / 0.8266 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.5546, allocations: 30.98 kB / 0.8266 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.5566, allocations: 2.437 MB / 0.829 GB, free: 8.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.5567, allocations: 121.6 kB / 0.8291 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.09e-05/0.5568, allocations: 19.14 kB / 0.8291 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.5568, allocations: 57.59 kB / 0.8292 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.5568, allocations: 4 kB / 0.8292 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.5762, allocations: 5.066 MB / 0.8341 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.736, allocations: 3.719 kB / 0.8341 GB, free: 7.16 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.680142146069556] Failed to read output from testmodel.py, exit status != 0: 7.814982382580638 7.828477006 7.277645308 Calling exit ...