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.0007271/0.0007271, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0007924/0.0007924, allocations: 211.8 kB / 23 MB, free: 3.117 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.8827/0.8827, allocations: 230.6 MB / 256.8 MB, free: 3.441 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.7275/0.7275, allocations: 203.8 MB / 0.5049 GB, free: 0.707 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.0008984/0.0008984, allocations: 67.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4368, allocations: 102 MB / 0.8191 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001203/0.438, allocations: 0.5355 MB / 0.8196 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.54e-05/0.438, allocations: 4.5 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.438, allocations: 1.031 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.4381, allocations: 1.109 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.444e-05/0.4381, allocations: 0.75 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 2.729e-05/0.4381, allocations: 0.5 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.242e-05/0.4382, allocations: 5.297 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.4382, allocations: 2.812 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.4382, allocations: 3.938 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.75e-05/0.4382, allocations: 1.156 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.4383, allocations: 0 / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-06/0.4383, allocations: 0 / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.4383, allocations: 4.875 kB / 0.8196 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.4383, allocations: 4 kB / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.413e-05/0.4383, allocations: 4.719 kB / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4383, allocations: 1.062 kB / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.572e-06/0.4383, allocations: 0 / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4384, allocations: 3.938 kB / 0.8197 GB, free: 24.86 MB / 0.6355 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.0002003/0.4386, allocations: 243.6 kB / 0.8199 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4386, allocations: 10.67 kB / 0.8199 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.23e-05/0.4386, allocations: 1.5 kB / 0.8199 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.525e-05/0.4387, allocations: 109.8 kB / 0.82 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4387, allocations: 2.188 kB / 0.82 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.4387, allocations: 1.594 kB / 0.82 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.4388, allocations: 29.19 kB / 0.82 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4388, allocations: 1.531 kB / 0.82 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.4388, allocations: 3.938 kB / 0.82 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4388, allocations: 1.188 kB / 0.82 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.262e-05/0.4388, allocations: 4.438 kB / 0.8201 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.439, allocations: 351.9 kB / 0.8204 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.439, allocations: 172.5 kB / 0.8206 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.439, allocations: 80.14 kB / 0.8206 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.439, allocations: 82.25 kB / 0.8207 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.439, allocations: 116.6 kB / 0.8208 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 5.72e-07/0.439, allocations: 0 / 0.8208 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 4.529e-05/0.4391, allocations: 27.73 kB / 0.8208 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.4391, allocations: 128.4 kB / 0.821 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.543e-05/0.4392, allocations: 94.25 kB / 0.8211 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-06/0.4392, allocations: 29.05 kB / 0.8211 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.245e-06/0.4392, allocations: 85.58 kB / 0.8212 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.4392, allocations: 0.6562 kB / 0.8212 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.4392, allocations: 15.31 kB / 0.8212 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.332e-05/0.4392, allocations: 311.5 kB / 0.8215 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-06/0.4392, allocations: 1.281 kB / 0.8215 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.4392, allocations: 0.6562 kB / 0.8215 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-06/0.4392, allocations: 78.72 kB / 0.8216 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4392, allocations: 80.56 kB / 0.8216 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.706e-05/0.4392, allocations: 40.75 kB / 0.8217 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4393, allocations: 83.05 kB / 0.8218 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4393, allocations: 76.86 kB / 0.8218 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.4393, allocations: 155.8 kB / 0.822 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-06/0.4393, allocations: 79.66 kB / 0.822 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4393, allocations: 160.4 kB / 0.8222 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.4393, allocations: 77.16 kB / 0.8223 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.4394, allocations: 78.11 kB / 0.8223 GB, free: 22 MB / 0.6355 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 3.412e-05/0.4394, allocations: 267.4 kB / 0.8226 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.4394, allocations: 106.7 kB / 0.8227 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.4394, allocations: 114 kB / 0.8228 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.4394, allocations: 182.8 kB / 0.823 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4394, allocations: 181.6 kB / 0.8232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4395, allocations: 177.7 kB / 0.8233 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.018e-05/0.4395, allocations: 383.9 kB / 0.8237 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4395, allocations: 102.1 kB / 0.8238 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-06/0.4395, allocations: 107.5 kB / 0.8239 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.4396, allocations: 176.8 kB / 0.8241 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4396, allocations: 186.6 kB / 0.8242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/0.4396, allocations: 182.2 kB / 0.8244 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.4396, allocations: 177.4 kB / 0.8246 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.02e-05/0.4396, allocations: 314.2 kB / 0.8249 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.4396, allocations: 111.2 kB / 0.825 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.4397, allocations: 182.9 kB / 0.8252 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.85e-05/0.4397, allocations: 110.5 kB / 0.8253 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.4397, allocations: 186.4 kB / 0.8255 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4397, allocations: 102.1 kB / 0.8255 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.4397, allocations: 79.48 kB / 0.8256 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4397, allocations: 96 / 0.8256 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001468/0.4399, allocations: 4 kB / 0.8256 GB, free: 18.5 MB / 0.6355 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 6.402e-05/0.4399, allocations: 169.8 kB / 0.8258 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.097e-05/0.44, allocations: 4.875 kB / 0.8258 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.44, allocations: 0 / 0.8258 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.44, allocations: 1 kB / 0.8258 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.4401, allocations: 467.7 kB / 0.8262 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001423/0.4403, allocations: 172.6 kB / 0.8264 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.293e-05/0.4403, allocations: 0.6713 MB / 0.8271 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.4404, allocations: 7.969 kB / 0.8271 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of SimCode: time 3.4e-07/0.4404, allocations: 0 / 0.8271 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.001057/0.4414, allocations: 325.4 kB / 0.8274 GB, free: 16.96 MB / 0.6355 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.361339599825442] Failed to read output from testmodel.py, exit status != 0: 0.4459822161588818 0.45387289799999997 0.013911884000000001 Calling exit ...