Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007537/0.0007537, 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.000776/0.000776, allocations: 212.6 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.9036/0.9036, allocations: 230.6 MB / 256.8 MB, free: 9.648 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.753/0.753, allocations: 203.5 MB / 0.5046 GB, free: 10.74 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009485/0.0009485, allocations: 72.3 kB / 0.719 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4519, allocations: 102 MB / 0.8186 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00127/0.4532, allocations: 0.5409 MB / 0.8191 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.868e-05/0.4533, allocations: 0 / 0.8191 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.4533, allocations: 1 kB / 0.8191 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.4533, allocations: 0 / 0.8191 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.4533, allocations: 3.938 kB / 0.8191 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.009e-05/0.4534, allocations: 3.812 kB / 0.8191 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.4534, allocations: 3.984 kB / 0.8192 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.4535, allocations: 4.703 kB / 0.8192 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.4535, allocations: 2.047 kB / 0.8192 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.085e-05/0.4535, allocations: 4 kB / 0.8192 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.4535, allocations: 1.281 kB / 0.8192 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.4535, allocations: 0 / 0.8192 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.4536, allocations: 3.938 kB / 0.8192 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.4536, allocations: 5.219 kB / 0.8192 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.348e-05/0.4536, allocations: 1.875 kB / 0.8192 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4536, allocations: 1.406 kB / 0.8192 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4536, allocations: 0 / 0.8192 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4536, allocations: 0 / 0.8192 GB, free: 1.043 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.0002141/0.4539, allocations: 248.3 kB / 0.8194 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4539, allocations: 8.906 kB / 0.8194 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.4539, allocations: 5.594 kB / 0.8194 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.75e-05/0.454, allocations: 104.7 kB / 0.8195 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.454, allocations: 384 / 0.8195 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.454, allocations: 384 / 0.8195 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.046e-05/0.4541, allocations: 34.5 kB / 0.8196 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4541, allocations: 192 / 0.8196 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.4541, allocations: 4.453 kB / 0.8196 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4541, allocations: 0 / 0.8196 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.329e-05/0.4541, allocations: 0.9688 kB / 0.8196 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.4543, allocations: 330.3 kB / 0.8199 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.895e-05/0.4543, allocations: 171.7 kB / 0.82 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.4543, allocations: 84.08 kB / 0.8201 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.4544, allocations: 81.16 kB / 0.8202 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4544, allocations: 111.1 kB / 0.8203 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4544, allocations: 0 / 0.8203 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.588e-05/0.4545, allocations: 28.62 kB / 0.8203 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4546, allocations: 130.6 kB / 0.8205 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.4546, allocations: 94.19 kB / 0.8205 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.4546, allocations: 25.7 kB / 0.8206 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.4547, allocations: 80.14 kB / 0.8206 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.4547, allocations: 5.531 kB / 0.8207 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.4547, allocations: 11.77 kB / 0.8207 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.4548, allocations: 315.5 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.9e-06/0.4548, allocations: 5.25 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-06/0.4548, allocations: 0 / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.4548, allocations: 76.91 kB / 0.821 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.4548, allocations: 76.03 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.625e-05/0.4549, allocations: 38.03 kB / 0.8212 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4549, allocations: 79.34 kB / 0.8212 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.4549, allocations: 81.05 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/0.455, allocations: 154.7 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4551, allocations: 80.41 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.192e-05/0.4551, allocations: 156.5 kB / 0.8217 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.4552, allocations: 85.19 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.4552, allocations: 91.64 kB / 0.8218 GB, free: 14.2 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.239e-05/0.4553, allocations: 257 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.4553, allocations: 105.7 kB / 0.8222 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.4553, allocations: 112.7 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/0.4554, allocations: 181 kB / 0.8225 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-05/0.4554, allocations: 182 kB / 0.8226 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.312e-05/0.4555, allocations: 185.4 kB / 0.8228 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.4556, allocations: 356.1 kB / 0.8232 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/0.4556, allocations: 101.6 kB / 0.8233 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.4557, allocations: 105.5 kB / 0.8234 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.987e-05/0.4557, allocations: 188.8 kB / 0.8235 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.4558, allocations: 184.8 kB / 0.8237 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-05/0.4558, allocations: 176.9 kB / 0.8239 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.22e-05/0.4558, allocations: 179.7 kB / 0.8241 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.792e-05/0.4559, allocations: 306.2 kB / 0.8243 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.456, allocations: 113 kB / 0.8245 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.456, allocations: 177 kB / 0.8246 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.456, allocations: 113.4 kB / 0.8247 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.4561, allocations: 184.7 kB / 0.8249 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.4561, allocations: 108.2 kB / 0.825 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.756e-05/0.4561, allocations: 75.28 kB / 0.8251 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4561, allocations: 0 / 0.8251 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001578/0.4563, allocations: 3.781 kB / 0.8251 GB, free: 10.74 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 9.145e-05/0.4564, allocations: 166.4 kB / 0.8252 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.138e-05/0.4564, allocations: 8 kB / 0.8253 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4564, allocations: 96 / 0.8253 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.4564, allocations: 4 kB / 0.8253 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.4567, allocations: 453.5 kB / 0.8257 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.4569, allocations: 190.2 kB / 0.8259 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.4569, allocations: 54.86 kB / 0.8259 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.4569, allocations: 7.438 kB / 0.8259 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.4569, allocations: 0 / 0.8259 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of Templates: time 0.001193/0.4581, allocations: 316.9 kB / 0.8262 GB, free: 9.82 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3775529051199555] Failed to read output from testmodel.py, exit status != 0: 0.4639407768845558 0.47343626600000005 0.017927222 Calling exit ...