Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0008289/0.0008289, allocations: 101.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.0009494/0.0009494, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9775/0.9775, allocations: 230.6 MB / 256 MB, free: 9.586 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.8359/0.8359, allocations: 203.5 MB / 0.5039 GB, free: 10.69 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.Logical.Validation.Timer,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",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.001709/0.001709, allocations: 66.91 kB / 0.7178 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6054, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001606/0.607, allocations: 0.7199 MB / 0.8181 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.6084, allocations: 1.273 MB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.6085, allocations: 5.875 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.6085, allocations: 5.203 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.658e-05/0.6086, allocations: 25.03 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.6093, allocations: 245 kB / 0.8196 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.6097, allocations: 255.6 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.6098, allocations: 7.391 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.61, allocations: 108.8 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.6102, allocations: 86.44 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.6103, allocations: 22.47 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.6104, allocations: 44.72 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.6104, allocations: 29.45 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.6106, allocations: 83.67 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.6109, allocations: 224.3 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6109, allocations: 1.875 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.611, allocations: 0 / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.611, allocations: 0 / 0.8204 GB, free: 15.39 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007474/0.6117, allocations: 436.8 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.6118, allocations: 8.188 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.6118, allocations: 37.52 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.6119, allocations: 17.55 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.6123, allocations: 197.8 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.6123, allocations: 14.72 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.6124, allocations: 18.34 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.6126, allocations: 141.1 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.6126, allocations: 3.625 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.6126, allocations: 1.688 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.6126, allocations: 2.062 kB / 0.8213 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.6127, allocations: 58.34 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008831/0.6136, allocations: 456.6 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.6138, allocations: 140 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.6139, allocations: 53.06 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.6139, allocations: 2.375 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/0.6144, allocations: 204.4 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.6144, allocations: 0 / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005244/0.6149, allocations: 319.2 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.6149, allocations: 90.91 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.6151, allocations: 127.8 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.6151, allocations: 37.69 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.6152, allocations: 100.2 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.6152, allocations: 51.17 kB / 0.8228 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.6153, allocations: 74.53 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.6154, allocations: 331.5 kB / 0.8232 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.6156, allocations: 147.2 kB / 0.8234 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.6158, allocations: 215.1 kB / 0.8236 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.616, allocations: 250.3 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6161, allocations: 5.281 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004848/0.6165, allocations: 420.9 kB / 0.8242 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.6166, allocations: 63.47 kB / 0.8243 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6166, allocations: 7.391 kB / 0.8243 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6166, allocations: 3.5 kB / 0.8243 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6167, allocations: 25.66 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.6167, allocations: 4.734 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.617, allocations: 65.66 kB / 0.8244 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.617, allocations: 16.17 kB / 0.8244 GB, free: 12.44 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.000139/0.6171, allocations: 145.8 kB / 0.8245 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.6172, allocations: 17.78 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.6172, allocations: 15.3 kB / 0.8246 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6172, allocations: 11.67 kB / 0.8246 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6172, allocations: 3.938 kB / 0.8246 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6172, allocations: 2.844 kB / 0.8246 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.6178, allocations: 0.5678 MB / 0.8251 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6178, allocations: 1.688 kB / 0.8251 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.6178, allocations: 19.78 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.6178, allocations: 5.344 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.6179, allocations: 9.891 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.6179, allocations: 1.688 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.6179, allocations: 1.375 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.6182, allocations: 430.5 kB / 0.8256 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.6182, allocations: 12.73 kB / 0.8256 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.6183, allocations: 18.53 kB / 0.8256 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.6184, allocations: 9.016 kB / 0.8256 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.6184, allocations: 27.31 kB / 0.8256 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.6185, allocations: 21.25 kB / 0.8257 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.6185, allocations: 93.62 kB / 0.8257 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6185, allocations: 0 / 0.8257 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002912/0.6188, allocations: 61.27 kB / 0.8258 GB, free: 11.44 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: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006418/0.6194, allocations: 0.9659 MB / 0.8267 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.6199, allocations: 379.5 kB / 0.8271 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6199, allocations: 448 / 0.8271 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.62, allocations: 93.17 kB / 0.8272 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.6203, allocations: 23.17 kB / 0.8272 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.6226, allocations: 2.538 MB / 0.8297 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.6227, allocations: 98.66 kB / 0.8298 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.6228, allocations: 15.44 kB / 0.8298 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.6229, allocations: 40.36 kB / 0.8298 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.6229, allocations: 0 / 0.8298 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.6488, allocations: 4.931 MB / 0.8347 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.71, allocations: 5.25 kB / 0.8347 GB, free: 7.035 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.805333118885756] Failed to read output from testmodel.py, exit status != 0: 7.788535158149898 7.797553661 7.184556043 Calling exit ...