Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.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.0007133/0.0007133, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007131/0.0007131, allocations: 212.7 kB / 23 MB, free: 2.977 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.9224/0.9224, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7491/0.7491, allocations: 203.5 MB / 0.5046 GB, free: 10.7 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.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [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.001012/0.001012, allocations: 70.23 kB / 0.719 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.483, allocations: 102 MB / 0.8186 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001462/0.4845, allocations: 0.7281 MB / 0.8193 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.4856, allocations: 1.268 MB / 0.8206 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.4856, allocations: 3.719 kB / 0.8206 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.4857, allocations: 10.12 kB / 0.8206 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.4857, allocations: 22.83 kB / 0.8206 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.4862, allocations: 255.1 kB / 0.8208 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.4865, allocations: 262.5 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4866, allocations: 39.47 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4868, allocations: 110.5 kB / 0.8212 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4869, allocations: 87.45 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.4869, allocations: 24.03 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.487, allocations: 46.55 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.487, allocations: 30.28 kB / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.4871, allocations: 87.41 kB / 0.8215 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.4874, allocations: 251.5 kB / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4874, allocations: 1.25 kB / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4874, allocations: 0 / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4874, allocations: 0 / 0.8217 GB, free: 15.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004773/0.4879, allocations: 425.8 kB / 0.8222 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4879, allocations: 9.797 kB / 0.8222 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.488, allocations: 17.42 kB / 0.8222 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.4883, allocations: 181.1 kB / 0.8224 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.4883, allocations: 13.62 kB / 0.8224 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4884, allocations: 27.02 kB / 0.8224 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.4886, allocations: 133.5 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4886, allocations: 5.016 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4886, allocations: 6.734 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4886, allocations: 2.562 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4887, allocations: 64.28 kB / 0.8226 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.4892, allocations: 355.1 kB / 0.8229 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.4893, allocations: 88.45 kB / 0.823 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.4894, allocations: 33.39 kB / 0.823 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.4894, allocations: 4 kB / 0.8231 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.4896, allocations: 137.2 kB / 0.8232 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.4896, allocations: 0 / 0.8232 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003812/0.49, allocations: 246.5 kB / 0.8234 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.49, allocations: 56.06 kB / 0.8235 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.4901, allocations: 145.3 kB / 0.8236 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4902, allocations: 30.17 kB / 0.8236 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.4902, allocations: 112.2 kB / 0.8237 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.4903, allocations: 36.17 kB / 0.8238 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4904, allocations: 72.34 kB / 0.8238 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.4904, allocations: 325.7 kB / 0.8242 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4906, allocations: 126.7 kB / 0.8243 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4907, allocations: 187.3 kB / 0.8245 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4909, allocations: 220.8 kB / 0.8247 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.4909, allocations: 5.125 kB / 0.8247 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003987/0.4913, allocations: 370.2 kB / 0.825 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/0.4914, allocations: 67.45 kB / 0.8251 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4914, allocations: 3.078 kB / 0.8251 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4914, allocations: 2.875 kB / 0.8251 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.777e-05/0.4914, allocations: 10.48 kB / 0.8251 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.4914, allocations: 7.344 kB / 0.8251 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4917, allocations: 59.98 kB / 0.8252 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.4917, allocations: 19.58 kB / 0.8252 GB, free: 13.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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.0001036/0.4918, allocations: 128.8 kB / 0.8253 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.4918, allocations: 19.55 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.4918, allocations: 12.8 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4918, allocations: 1.062 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4919, allocations: 0 / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4919, allocations: 1.828 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.4923, allocations: 429.5 kB / 0.8258 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4923, allocations: 0 / 0.8258 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.4923, allocations: 4.094 kB / 0.8258 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4923, allocations: 1.156 kB / 0.8258 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4923, allocations: 11.86 kB / 0.8258 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.4923, allocations: 5.281 kB / 0.8258 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4923, allocations: 3.938 kB / 0.8258 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.4925, allocations: 294.2 kB / 0.8261 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.4925, allocations: 7.922 kB / 0.8261 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.4926, allocations: 3.609 kB / 0.8261 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.094e-05/0.4926, allocations: 8.844 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.4926, allocations: 11.25 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.4927, allocations: 13.92 kB / 0.8261 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.4927, allocations: 93.88 kB / 0.8262 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4927, allocations: 0 / 0.8262 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000226/0.4929, allocations: 56.69 kB / 0.8262 GB, free: 12.27 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * 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.0001478/0.4931, allocations: 112.9 kB / 0.8264 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.4935, allocations: 325.6 kB / 0.8267 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4935, allocations: 0 / 0.8267 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.4935, allocations: 62.61 kB / 0.8267 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.4938, allocations: 26 kB / 0.8268 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.4942, allocations: 296 kB / 0.827 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.334e-05/0.4943, allocations: 95.28 kB / 0.8271 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.4943, allocations: 16.11 kB / 0.8271 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.4943, allocations: 3.938 kB / 0.8271 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.003412/0.4977, allocations: 2.004 MB / 0.8291 GB, free: 11.41 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.753787601366639] Failed to read output from testmodel.py, exit status != 0: 0.5046099037863314 0.515814176 0.025855368 Calling exit ...