Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0007228/0.0007228, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0006846/0.0006846, allocations: 212.1 kB / 23 MB, free: 2.98 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.8336/0.8336, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7175/0.7175, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [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.0008959/0.0008959, allocations: 77.5 kB / 0.7194 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4054, allocations: 102 MB / 0.819 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001167/0.4066, allocations: 0.5382 MB / 0.8196 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.808e-05/0.4066, allocations: 5.297 kB / 0.8196 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.4066, allocations: 2.094 kB / 0.8196 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.842e-05/0.4067, allocations: 4 kB / 0.8196 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.4067, allocations: 0 / 0.8196 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.685e-05/0.4067, allocations: 3.938 kB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.4068, allocations: 2.656 kB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.4068, allocations: 0.7031 kB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.4068, allocations: 3.406 kB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.83e-05/0.4068, allocations: 3.938 kB / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4069, allocations: 0 / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-06/0.4069, allocations: 0 / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.4069, allocations: 0.5625 kB / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.4069, allocations: 4 kB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.853e-05/0.4069, allocations: 15.7 kB / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4069, allocations: 0 / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4069, allocations: 0 / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.407, allocations: 0 / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001899/0.4071, allocations: 242.4 kB / 0.8198 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.4072, allocations: 12.06 kB / 0.8198 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.4072, allocations: 0.9375 kB / 0.8198 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.177e-05/0.4073, allocations: 107.2 kB / 0.8199 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4073, allocations: 1.031 kB / 0.8199 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.4073, allocations: 2.906 kB / 0.8199 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.546e-05/0.4073, allocations: 30.92 kB / 0.82 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4073, allocations: 3.312 kB / 0.82 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.4074, allocations: 3.938 kB / 0.82 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4074, allocations: 0 / 0.82 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.4074, allocations: 0.75 kB / 0.82 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.4075, allocations: 333.4 kB / 0.8203 GB, free: 180 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.393e-05/0.4076, allocations: 171.1 kB / 0.8205 GB, free: 0 / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.4076, allocations: 80.14 kB / 0.8205 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4076, allocations: 80.5 kB / 0.8206 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4077, allocations: 109.3 kB / 0.8207 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.4077, allocations: 4 kB / 0.8207 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.302e-05/0.4077, allocations: 34.3 kB / 0.8208 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.4078, allocations: 128.2 kB / 0.8209 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.4078, allocations: 93.44 kB / 0.821 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4078, allocations: 26.83 kB / 0.821 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.4079, allocations: 80.14 kB / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.4079, allocations: 0 / 0.8211 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.4079, allocations: 13.66 kB / 0.8211 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.4079, allocations: 311.5 kB / 0.8214 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.408, allocations: 0 / 0.8214 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-06/0.408, allocations: 128 / 0.8214 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.861e-05/0.408, allocations: 80.03 kB / 0.8215 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/0.408, allocations: 78.38 kB / 0.8215 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.378e-05/0.408, allocations: 46.16 kB / 0.8216 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.4081, allocations: 81.5 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.4081, allocations: 76.41 kB / 0.8217 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-05/0.4081, allocations: 158.4 kB / 0.8219 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-05/0.4081, allocations: 77.12 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.121e-05/0.4082, allocations: 152.8 kB / 0.8221 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.4082, allocations: 81.5 kB / 0.8222 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4082, allocations: 78.88 kB / 0.8223 GB, free: 14.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 7.561e-05/0.4083, allocations: 265 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.4083, allocations: 110.2 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.4084, allocations: 112.2 kB / 0.8227 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.4084, allocations: 176.9 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.954e-05/0.4084, allocations: 182.2 kB / 0.8231 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-05/0.4085, allocations: 182 kB / 0.8232 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.4086, allocations: 357.5 kB / 0.8236 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/0.4086, allocations: 104 kB / 0.8237 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.4086, allocations: 101.6 kB / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.249e-05/0.4087, allocations: 188.9 kB / 0.824 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.4087, allocations: 189 kB / 0.8241 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.4088, allocations: 184.8 kB / 0.8243 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.746e-05/0.4088, allocations: 180 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/0.4089, allocations: 307.8 kB / 0.8248 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.4089, allocations: 110 kB / 0.8249 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.409, allocations: 182 kB / 0.8251 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.409, allocations: 106.9 kB / 0.8252 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.4091, allocations: 182.5 kB / 0.8253 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.4091, allocations: 105 kB / 0.8254 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.4091, allocations: 75.28 kB / 0.8255 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4091, allocations: 4.094 kB / 0.8255 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001555/0.4093, allocations: 0 / 0.8255 GB, free: 10.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.967e-05/0.4093, allocations: 177 kB / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.691e-05/0.4094, allocations: 0.7031 kB / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4094, allocations: 0 / 0.8257 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.4094, allocations: 3.938 kB / 0.8257 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.4096, allocations: 453.5 kB / 0.8261 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001926/0.4098, allocations: 181.8 kB / 0.8263 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.4099, allocations: 59.72 kB / 0.8263 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.4099, allocations: 7.438 kB / 0.8263 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4099, allocations: 0 / 0.8263 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of Templates: time 0.001018/0.4109, allocations: 313 kB / 0.8266 GB, free: 9.742 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.217068466357887] Failed to read output from testmodel.py, exit status != 0: 0.416667346842587 0.42625874399999997 0.01748997 Calling exit ...