Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0009935/0.0009935, allocations: 100.4 kB / 19.71 MB, free: 444 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.0008584/0.0008584, allocations: 210.9 kB / 23 MB, free: 2.973 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.904/0.904, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7393/0.7393, allocations: 203.5 MB / 0.5046 GB, free: 10.69 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0009096/0.0009096, allocations: 70.16 kB / 0.719 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4755, allocations: 102 MB / 0.8186 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001235/0.4768, allocations: 0.5288 MB / 0.8191 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.583e-05/0.4768, allocations: 1.828 kB / 0.8191 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.4768, allocations: 0 / 0.8191 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.4769, allocations: 3.938 kB / 0.8191 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.587e-05/0.4769, allocations: 1.375 kB / 0.8191 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.85e-05/0.4769, allocations: 0 / 0.8191 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.528e-05/0.477, allocations: 3.25 kB / 0.8191 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.477, allocations: 0.6562 kB / 0.8191 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.534e-05/0.477, allocations: 4.641 kB / 0.8191 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.837e-05/0.4771, allocations: 4.938 kB / 0.8192 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.4771, allocations: 3.938 kB / 0.8192 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.4771, allocations: 1.312 kB / 0.8192 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.4771, allocations: 4 kB / 0.8192 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.4771, allocations: 1.906 kB / 0.8192 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.926e-05/0.4772, allocations: 1.406 kB / 0.8192 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4772, allocations: 0.8438 kB / 0.8192 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4772, allocations: 0 / 0.8192 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4772, allocations: 2.812 kB / 0.8192 GB, free: 1.16 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.0001992/0.4774, allocations: 242.6 kB / 0.8194 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4774, allocations: 7.531 kB / 0.8194 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.4774, allocations: 4.938 kB / 0.8194 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.752e-05/0.4775, allocations: 108.8 kB / 0.8195 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4775, allocations: 2.062 kB / 0.8195 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.4775, allocations: 384 / 0.8195 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.082e-05/0.4776, allocations: 34.84 kB / 0.8195 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4776, allocations: 192 / 0.8195 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.4776, allocations: 3.938 kB / 0.8196 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4776, allocations: 3.984 kB / 0.8196 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.391e-05/0.4776, allocations: 0.6094 kB / 0.8196 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.4778, allocations: 332.8 kB / 0.8199 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.804e-05/0.4778, allocations: 173.9 kB / 0.82 GB, free: 204 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.108e-05/0.4778, allocations: 84.08 kB / 0.8201 GB, free: 116 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.4779, allocations: 79.22 kB / 0.8202 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.4779, allocations: 112 kB / 0.8203 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.4779, allocations: 2.156 kB / 0.8203 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.602e-05/0.478, allocations: 30.41 kB / 0.8203 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.478, allocations: 126.7 kB / 0.8205 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.4781, allocations: 97.44 kB / 0.8205 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.4781, allocations: 25.7 kB / 0.8206 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.4781, allocations: 86.36 kB / 0.8207 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.4781, allocations: 0 / 0.8207 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.718e-05/0.4781, allocations: 12.98 kB / 0.8207 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.4782, allocations: 311.5 kB / 0.821 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.4782, allocations: 0 / 0.821 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.4782, allocations: 0 / 0.821 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.4782, allocations: 78.19 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.4782, allocations: 84.03 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.448e-05/0.4783, allocations: 34.89 kB / 0.8212 GB, free: 15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.4783, allocations: 81.44 kB / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.4783, allocations: 81.61 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.314e-05/0.4784, allocations: 157.5 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.715e-05/0.4784, allocations: 81.88 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/0.4784, allocations: 154.3 kB / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.4785, allocations: 75.89 kB / 0.8218 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.4785, allocations: 79.78 kB / 0.8218 GB, free: 14.32 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.597e-05/0.4786, allocations: 262.7 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.4786, allocations: 107.8 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.4786, allocations: 112.5 kB / 0.8223 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.904e-05/0.4787, allocations: 178.2 kB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.4787, allocations: 180.5 kB / 0.8226 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.73e-05/0.4787, allocations: 188.9 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.4789, allocations: 350.4 kB / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.4789, allocations: 105.7 kB / 0.8232 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.4789, allocations: 103.9 kB / 0.8233 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.684e-05/0.4789, allocations: 181.3 kB / 0.8235 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.479, allocations: 197 kB / 0.8237 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.583e-05/0.479, allocations: 176.3 kB / 0.8239 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.936e-05/0.4791, allocations: 181.5 kB / 0.8241 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.287e-05/0.4792, allocations: 303 kB / 0.8243 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.4792, allocations: 113 kB / 0.8244 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.4792, allocations: 177.9 kB / 0.8246 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.4793, allocations: 115.8 kB / 0.8247 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.4793, allocations: 177 kB / 0.8249 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.4794, allocations: 104.6 kB / 0.825 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.4794, allocations: 83.97 kB / 0.8251 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4794, allocations: 3.938 kB / 0.8251 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000156/0.4795, allocations: 3.375 kB / 0.8251 GB, free: 10.85 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.211e-05/0.4796, allocations: 168.8 kB / 0.8252 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.083e-05/0.4797, allocations: 0 / 0.8252 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4797, allocations: 4.094 kB / 0.8252 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.4797, allocations: 0 / 0.8252 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4799, allocations: 459.8 kB / 0.8257 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.4801, allocations: 187.2 kB / 0.8259 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.4801, allocations: 56.09 kB / 0.8259 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.142e-05/0.4802, allocations: 11.38 kB / 0.8259 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of SimCode: time 4.6e-07/0.4802, allocations: 0 / 0.8259 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of Templates: time 0.001089/0.4812, allocations: 315.3 kB / 0.8262 GB, free: 9.934 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.420599245931953] Failed to read output from testmodel.py, exit status != 0: 0.4866062281653285 0.49636305900000005 0.017289765000000002 Calling exit ...