Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000792/0.000792, 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.001381/0.001381, allocations: 169.9 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.9442/0.9442, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7264/0.7264, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.57e-05, allocations: 9.047 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001463/0.001488, allocations: 0.7073 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.002805, allocations: 1.279 MB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.002876, allocations: 3.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.002915, allocations: 3.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.003005, allocations: 27.78 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.003648, allocations: 246.6 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.003904, allocations: 255.5 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.004005, allocations: 8.234 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.00416, allocations: 143.8 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.004291, allocations: 83.78 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.004325, allocations: 24 kB / 0.6208 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.73e-05/0.004392, allocations: 28 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.004429, allocations: 39.88 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.004505, allocations: 75.88 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.004752, allocations: 271.3 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.004756, allocations: 4 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.362e-06/0.004758, allocations: 0 / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.004764, allocations: 0 / 0.6212 GB, free: 10.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005641/0.005328, allocations: 421.3 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.005365, allocations: 13.47 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.005395, allocations: 34.75 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.005445, allocations: 24.83 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.005801, allocations: 193.3 kB / 0.6218 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.005827, allocations: 12.36 kB / 0.6218 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.005855, allocations: 20.38 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.006038, allocations: 135.8 kB / 0.622 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006048, allocations: 192 / 0.622 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.006065, allocations: 4.359 kB / 0.622 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.006074, allocations: 7.938 kB / 0.622 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.006192, allocations: 55.95 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.006789, allocations: 459.8 kB / 0.6225 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.007026, allocations: 145.1 kB / 0.6226 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.007098, allocations: 53.64 kB / 0.6227 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.007112, allocations: 4 kB / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.007467, allocations: 212.8 kB / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.007469, allocations: 0 / 0.6229 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.0004653/0.007934, allocations: 309.4 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.008017, allocations: 93.09 kB / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.00811, allocations: 130 kB / 0.6234 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.008146, allocations: 41.69 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.008208, allocations: 96.78 kB / 0.6235 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.008251, allocations: 51.59 kB / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.362e-05/0.008344, allocations: 77.67 kB / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.008454, allocations: 326.8 kB / 0.624 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.008633, allocations: 159.6 kB / 0.6241 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.008814, allocations: 207.6 kB / 0.6243 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.009056, allocations: 250.5 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.00906, allocations: 0 / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004137/0.009474, allocations: 416.2 kB / 0.6249 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.009525, allocations: 67.78 kB / 0.625 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.009533, allocations: 3.984 kB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.00955, allocations: 4 kB / 0.625 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.009623, allocations: 15.94 kB / 0.625 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.009635, allocations: 11.88 kB / 0.625 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.009826, allocations: 79.92 kB / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.009847, allocations: 16 kB / 0.6251 GB, free: 6.082 MB / 0.5886 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.0001145/0.009962, allocations: 144.8 kB / 0.6253 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.009981, allocations: 11.95 kB / 0.6253 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.01002, allocations: 20.42 kB / 0.6253 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01002, allocations: 0 / 0.6253 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.01003, allocations: 4 kB / 0.6253 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01003, allocations: 4 kB / 0.6253 GB, free: 5.887 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.01047, allocations: 0.5788 MB / 0.6259 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01047, allocations: 0 / 0.6259 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.0105, allocations: 11.94 kB / 0.6259 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01051, allocations: 7.922 kB / 0.6259 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01052, allocations: 4 kB / 0.6259 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01052, allocations: 7.938 kB / 0.6259 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01053, allocations: 0 / 0.6259 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.01082, allocations: 429.8 kB / 0.6263 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.01083, allocations: 15.84 kB / 0.6263 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.01085, allocations: 15.98 kB / 0.6263 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.01094, allocations: 11.98 kB / 0.6264 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.01101, allocations: 27.89 kB / 0.6264 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.01102, allocations: 19.98 kB / 0.6264 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.01107, allocations: 94.39 kB / 0.6265 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01107, allocations: 0 / 0.6265 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002735/0.01135, allocations: 52 kB / 0.6265 GB, free: 4.562 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: 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.0007161/0.01206, allocations: 0.9661 MB / 0.6275 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.01255, allocations: 381.9 kB / 0.6278 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01255, allocations: 0 / 0.6278 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.01267, allocations: 91.98 kB / 0.6279 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01299, allocations: 33.34 kB / 0.628 GB, free: 3.039 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.01514, allocations: 2.514 MB / 0.6304 GB, free: 336 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.596e-05/0.01522, allocations: 96.91 kB / 0.6305 GB, free: 220 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.835e-05/0.01527, allocations: 17.48 kB / 0.6305 GB, free: 204 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.01534, allocations: 44.47 kB / 0.6306 GB, free: 156 kB / 0.5886 GB Notification: Performance of SimCode: time 8.32e-07/0.01534, allocations: 0 / 0.6306 GB, free: 156 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.03593, allocations: 5.046 MB / 0.6355 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.805, allocations: 14.28 kB / 0.6355 GB, free: 11.31 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Timer.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.704766109585762] Failed to read output from testmodel.py, exit status != 0: 6.887888377532363 6.897694581 6.89115624 Calling exit ...