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.001168/0.001168, 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.001124/0.001124, allocations: 209.7 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.9921/0.9921, 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.779/0.779, 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.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.0009828/0.0009828, allocations: 72.05 kB / 0.7178 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4901, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001462/0.4915, allocations: 0.7043 MB / 0.8181 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.4926, allocations: 1.28 MB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.4926, allocations: 0 / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.4927, allocations: 6.469 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.4927, allocations: 20.62 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.4932, allocations: 247.7 kB / 0.8196 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.4935, allocations: 255.7 kB / 0.8198 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.4936, allocations: 15.05 kB / 0.8198 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4937, allocations: 98.56 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.4939, allocations: 85.64 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.4939, allocations: 24.97 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.494, allocations: 39.38 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.321e-05/0.494, allocations: 28.19 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.4941, allocations: 85.06 kB / 0.8202 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.4943, allocations: 232 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4943, allocations: 0 / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4943, allocations: 0 / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4943, 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.0006177/0.495, allocations: 431.6 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.495, allocations: 11.47 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.495, allocations: 41.77 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.4951, allocations: 15.61 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.4955, allocations: 191.2 kB / 0.8211 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.4956, allocations: 14 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.4956, allocations: 18.94 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.4958, allocations: 136.2 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4959, allocations: 1.438 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.4959, allocations: 15.8 kB / 0.8213 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4959, allocations: 1.375 kB / 0.8213 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.496, allocations: 60.14 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.4966, allocations: 454.7 kB / 0.8217 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.4968, allocations: 140.9 kB / 0.8219 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.4969, allocations: 53.42 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.4969, allocations: 2.438 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.4972, allocations: 209.7 kB / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.032e-06/0.4972, allocations: 0 / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0004242/0.4976, allocations: 316 kB / 0.8224 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4976, allocations: 88.95 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.4977, allocations: 129.7 kB / 0.8226 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.4977, allocations: 41.84 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.4978, allocations: 96.59 kB / 0.8228 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.4978, allocations: 51.16 kB / 0.8228 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.4979, allocations: 78.78 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.498, allocations: 327.2 kB / 0.8232 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.4982, allocations: 151.9 kB / 0.8234 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.4984, allocations: 210.5 kB / 0.8236 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.4986, allocations: 240.5 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4986, allocations: 4 kB / 0.8238 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005049/0.4991, allocations: 430 kB / 0.8242 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/0.4992, allocations: 64.8 kB / 0.8243 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4992, allocations: 5.375 kB / 0.8243 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.4992, allocations: 4.5 kB / 0.8243 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.4993, allocations: 26.25 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.4993, allocations: 11.95 kB / 0.8243 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.4996, allocations: 69.7 kB / 0.8244 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.4996, allocations: 15.91 kB / 0.8244 GB, free: 12.43 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.0001223/0.4997, allocations: 141.9 kB / 0.8245 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4997, allocations: 18.12 kB / 0.8245 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.4998, allocations: 15.06 kB / 0.8246 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4998, allocations: 11.5 kB / 0.8246 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4998, allocations: 0 / 0.8246 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4998, allocations: 2.609 kB / 0.8246 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.5003, allocations: 0.5676 MB / 0.8251 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5003, allocations: 0 / 0.8251 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.5003, allocations: 13.11 kB / 0.8251 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.5004, allocations: 9.25 kB / 0.8251 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.5004, allocations: 9.219 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.5004, allocations: 2.391 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5004, allocations: 1.562 kB / 0.8252 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.5007, allocations: 435.2 kB / 0.8256 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.5007, allocations: 13.11 kB / 0.8256 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.5007, allocations: 15.34 kB / 0.8256 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.5008, allocations: 12.84 kB / 0.8256 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.5009, allocations: 23.53 kB / 0.8256 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.5009, allocations: 13.02 kB / 0.8256 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.5009, allocations: 97.27 kB / 0.8257 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5009, allocations: 0 / 0.8257 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000241/0.5012, allocations: 56.52 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.00053/0.5017, allocations: 0.9764 MB / 0.8267 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.5021, allocations: 380 kB / 0.8271 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5021, allocations: 0 / 0.8271 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.5022, allocations: 88.81 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.0002836/0.5025, allocations: 36.16 kB / 0.8272 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.5048, allocations: 2.534 MB / 0.8297 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.5048, allocations: 94 kB / 0.8298 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.275e-05/0.5049, allocations: 20.23 kB / 0.8298 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.505, allocations: 36.59 kB / 0.8298 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.505, allocations: 1.562 kB / 0.8298 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.525, allocations: 4.918 MB / 0.8347 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.596/7.121, allocations: 13.02 kB / 0.8347 GB, free: 7.031 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.182570011820644] Failed to read output from testmodel.py, exit status != 0: 7.20225768815726 7.217294901 6.720522122 Calling exit ...